Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jquery mobile popup div内にボタンがあります。ボタンをクリックすると、divのIDを使用せずにポップアップdivを閉じるようにonclick JavaScript関数を設定したいと思います。解決策はありますか?
親も呼び出すことができます:
$(this).parent(".ui-popup").popup("close");