after form submit and use back button..form have values...need to remove |
[eluser]dine[/eluser]
I am feeling very great for getting such all imp reply from your sides. what I do is set Quote:body onload = "document.form1.reset(); " and i think it's working fine.
[eluser]dine[/eluser]
Can you please guide me as you did earlier for last reply by *dine* http://ellislab.com/forums/viewthread/114736/
[eluser]Vi.[/eluser]
Here is working solution; Add this code to between <head></head> tags Code: function clear(){ Code: onload='clear()' onUnload='clear()' It is working on Opera, Internet Explorer and Firefox.
[eluser]TheFuzzy0ne[/eluser]
Won't that be useless if you are validating the input? If anything is wrong, the input controls will still be emptied when the page is reloaded.
[eluser]sheri.nust[/eluser]
[quote author="dine" date="1243105267"]Can you please guide me as you did earlier for last reply by *dine* http://ellislab.com/forums/viewthread/114736/[/quote] do you want ,the values in form elements should be retained after it is being posting and validated ? |
Welcome Guest, Not a member yet? Register Sign In |