Sometimes its necessary to refresh the current page in Phonegap app. There are basically two ways to refresh currently executing page
- window.location = "filename.html";
In case you are using JQuery Mobile and you want to refresh the current page(i.e., current view) then use this code
Remember that refreshing a page removes all dynamically added content of the page.