I have question that when a user press a back arrow after submitting from to a server then all value that are send to server using post method are also there on Input Fields I want those value should be clear and web page will be reset to its Initial State when it is run first time.
I believe that you when you use the back arrow key the js you posted won’t get triggered again and the form will not be reset. At least that’s what testing showed me
But you are right this should have been posted in the same thread to avoid duplication.
Solution you have given is very cool
but that was working when document is ready I tried suggestion
given by @RyanReese
"Perhaps on page load you can manually set the elements to ‘’ in jQuery
so "
from that i got my solution
ya they are related to each other.
my mistake asking similar type question again