Is there a way to reload a page using prototype (or redirect to itself)?
You shouldn't need a Javascript Library for this. A simple:
window.location.reload();
or
window.location.href = window.location.href;
should suffice.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With