[jQuery Mobile] Refresh DOM after AJAX Call


/ Published in: jQuery
Save to your folder(s)

in jquery mobile, .html() not refresh DOM. Execute this function after any DOM change.


Copy this code and paste it in your HTML
  1. function refreshPage(page){
  2. // Page refresh
  3. page.trigger('pagecreate');
  4. }

Report this snippet


Comments


You need to login to view comments.