$( "#myPopupDiv" ).popup( "open" )
I tried this by using the code below but can't get it to work. It launched on page load but would not close. I am a newbie with jquery so any help would be much appreciated. Thanks.
$(document).bind("mobileinit", function(){
$( "#myPopupDiv" ).popup( "open" )
});