Is there a way to reload a page using prototype (or redirect to itself)?
+3
A:
I doubt it. It seems rather pointless to write a helper function for something as simple as location.reload(true);
when it really isn't used very often.
David Dorward
2010-04-01 14:24:30
+7
A:
You shouldn't need a Javascript Library for this. A simple:
window.location.reload();
or
window.location.href = window.location.href;
should suffice.
Justin Niessner
2010-04-01 14:25:29