cordova - JQuery Mobile & URL Parameters white flash on reload -
i using query mobile phonegap application, passing through parameters through url next page.
for example:
main.html?id=1, menu.html?id=2 etc
to allow have turn ajaxenabled
false allow pass through information need. in doing unable use transitions page page means white flash page reloads.
i generating these links dynamically.
$.ajax({ url: 'urlto webserver', datatype: 'jsonp', jsonp: 'jsoncallback', timeout: 5000, success: function(data, status){ $.each(data, function(i,item){ var list = '<li><a href="menu.html?idcat='+item.id_cat+'">'+item.category_cat+'</li>' output.append(list); }); }, error: function(jqxhr, textstatus) { alert( "request failed: " + textstatus ); output.text('there error loading data.') } });
is there solution?
you can use method jquery serialize data paramater. via changepage method in jquery hope solved :d
Comments
Post a Comment