Can anyone tell the jQuery code for automatic refreshing of a page?
i am using something like this –
jQuery(".form_" + form_count).html("<div id='message'></div>")
jQuery('#message').html("<center><h2><br><br>Thank You Your form has been submitted.</h2></center>")
window.setTimeout(function() {
history.go(-1);
}, 1950);
Now what i want is that after the browser has moved one page back to history that page should be refreshed . I tried using the above answers but no help.
I’ve used…
But it turns out that…
…exists, and it also more semantically correct. Pass an argument as
trueif you’d like to trigger a hard reload.Of course, this is not jQuery. Remember jQuery is a JavaScript framework.