Hello,
i have created two popup in my app and when first popup open then perform click button event then show second popup. how perform this.
here my code
<p><a href="#popup" data-role="button" data-position-to="window" data-rel="popup">Show page "popup" (as a dialog)</a></p>
<div id="popup" data-role="popup" data-style="center_title_1btn">
<div class="ui-popup-title">
<h1>Popup title</h1>
</div>
<div class="ui-popup-text">Pop-up dialog box, a child window that blocks user interact to the parent windows</div>
<a href="#popup1" data-inlie="true" data-role="button" data-position-to="window" data-rel="popup">Login</a>
<a href="#" data-inlie="true" data-role="button" onclick="javascript:$('#popup').popup('close');">Close</a>
</div>
<div id="popup1" data-role="popup" data-style="center_title_1btn">
<div class="ui-popup-title">
<h1>Popup title</h1>
</div>
<div class="ui-popup-text">Pop-up dialog box, a child window that blocks user interact to the parent windows</div>
<a href="#" data-inlie="true" data-role="button" onclick="javascript:$('#popup').popup('close');">Close</a>
</div>