Languages

Menu
Sites
Language
popup open in web app

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>
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 Replies
Lakshmi Grandhi
H Bhardwaj, Thanks for posting, i am looking into your posts and get back to you
Lakshmi Grandhi
from jquerymobile documentation, it is stated that chaining of pop up windows are not allowed. for more information go though the following link http://jquerymobile.com/demos/1.2.0/docs/pages/popup/
tribhuvan bhardwaj
hello Grandhi Thnx for give important information....