[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


RSS Icon Subscribe to comments

You need to login to post a comment.