Share Knowledge
Tuesday, November 9, 2010
How to reset a form using JQuery
A little bit JQuery too..To reset the input field values of a form to its default values, the following code can be used. This is similar to using the reset button of HTML.
$("form")[0].reset();
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)