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();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment