javascript - How to call a popup from a link inside another popup. Jquery Mobile -


i have popup this:

<div data-role="popup" id="popup1">     <a href="#pop" data-rel="popup">link open popup</a>      </div> 

and div popup id="pop" is:

<div data-role="popup" id="pop">     <!-- content here --> </div> 

so how open popup id="popup" link inside popup.

i tried regular way. did not work!

$("#popup1").popup('close'); $("#pop").popup('open'); 

even above did not work!

jqm popups cannot chained. have fire second after timer delay.

see jqm documentation , search "chain": http://api.jquerymobile.com/popup/


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -