jquery location reload code example
Example 1: refresh window js
window.location.reload();
Example 2: jquery reload page
$('#myElement').click(function() {
location.reload();
});
Example 3: page refresh jquery on click
$('#something').click(function() {
location.reload();
});
Example 4: how to reload the same page using javascript
BY LOVE
window.location.reload();
Example 5: javascript reload page
location.reload();
Example 6: how to completely reload page in jquery
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);