window reload jquery 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 completely reload page in jquery
// reload page from cache:
location.reload();
// reload page from server:
location.reload(true);
Example 5: reload page jquery
location.reload();
Example 6: page refresh jquery
location.reload();