Welcome aboard! We are happy you are here and wish you good net-raft!
<div data-role="page" data-dialog="true" id="pagetwo">
<div data-role="header">
<h1>Dialog Box!</h1>
</div>
<div data-role="main" class="ui-content">
<p>Welcome to jquery mobile</p>
<a href="#pageone" data-transition="flow">Continue ...</a>
</div>
<div data-role="footer">
<h1>© jquery mobile</h1>
</div>
</div>
$(document).on("pagecreate","#pagetwo",function(){
// do something
}); 
The most helpful JQUERY MOBILE solutions
How detect click jquery mobile button using jquery ?JQUERY MOBILE Click to see more ... 461 71