146
rated 0 times
[
148]
[
2]
/ answers: 1 / hits: 20907
/ 11 Years ago, wed, august 21, 2013, 12:00:00
I need to reset forms elements after click span for example.
Is there a method to reset the from by jQuery without select each element and remove the attribute value.
Some of the elements not having attribute value like textarea or radio
And some like button I don't want to remove the value from it.
I want use jQuery to use the reset on other events
Code for example http://jsfiddle.net/pgNrF/
<input type=button value=Input Button>
<input type=checkbox>
<input type=hidden>
<textarea></textarea>
<span>Reset</span>
More From » jquery