Trying to find an elegant solution to reset a webform (or more specifically two INPUT Type='hidden' fields) if a user goes BACK after the form is submitted.
I understand that BACK button does not trigger an onload event.
But is there any way of dealing with this?
when the back button is pressed,
onbeforeunloadevent is fired so you can try something likejQuery:
javascript:
in between script tag: