In this below script, page refresh in jquery , Javascript and html
In this post, I have mentioned page refresh in jquery.
For this, we do multiple ways for this option:
Example:
$( "#btnsuccess" ).click(function() {
location.reload();
});
For this, we do multiple ways for this option:
- location.reload()
- history.go(0)
- location.href = location.href
- location.href = location.pathname
- location.replace(location.pathname)
- location.reload(false)
- window.location.reload(true)
Example:
$( "#btnsuccess" ).click(function() {
location.reload();
});
No comments:
Post a Comment