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
Post a Comment