How to refresh a page in jquery? -


i need refresh page using jquery? using

location.reload(true);
this code reloads page need refresh page(once page refresh user entered content there). how refresh?

use location.reload(); - note not disable caching reload. cannot preserve both form fields and reload without using cache.

it's similar f5 vs ctrl+f5: first 1 not disable caching preserves form fields. latter not load cache , resets form fields.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -