lundi 31 mars 2014

jQuery Mobile Popups won't open after page refresh


Vote count:

0




I have a page in a jQuery mobile app where there are several ajax forms submissions possible, and on 2 of those forms, upon the successful ajax response I reload the page like this:



$.mobile.changePage(window.location.href, {
transition : 'flip',
reverse : false,
changeHash: false,
allowSamePageTransition : true,
reloadPage:true
});


After this refresh occurs the popups on the page will no longer open (until a hard refresh is done in the browser). I'm guessing it has something to do with jQM thinking there are 2 pages (even though its a reload of the same page), and since the same ID's exist its causing problems. How can I fix this?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire