Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
81
rated 0 times [  85] [ 4]  / answers: 1 / hits: 46027  / 14 Years ago, thu, april 1, 2010, 12:00:00

Unfortunately form.reset() function doesn't reset hidden inputs of the form.
Checked in FF3 and Chromium.


Does any one have an idea how to do the reset for hidden fields as well?


More From » forms

 Answers
133

Seems the easiest way of doing that is having <input style="display: none" type="text"/> field instead of <input type="hidden"/> field.
At this case default reset process regularly.


[#97186] Monday, March 29, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
parker

Total Points: 259
Total Questions: 109
Total Answers: 97

Location: Zambia
Member since Thu, Jun 25, 2020
4 Years ago
;