Reputation: 3050
i am trying to open a Jquery Mobile dialog via JS function but its not working for me here is the function
function showSettings()
{
document.getElementById('settings').style.display = 'none';
document.getElementById('passwordView').style.display = 'block';
$.mobile.changePage('#myPopupDialog', 'pop', true, true);
}
and here is the jsFiddle http://jsfiddle.net/7C8Lw/
Upvotes: 1
Views: 44