Return to Snippet

Revision: 27276
at June 1, 2010 09:13 by akwo


Initial Code
$(':input','#myform')
 .not(':button, :submit, :reset, :hidden')
 .val('')
 .removeAttr('checked')
 .removeAttr('selected');

Initial URL

                                

Initial Description
http://stackoverflow.com/questions/680241/reset-form-with-jquery

Initial Title
jQuery Reset Form by filtering elements

Initial Tags
form, jquery

Initial Language
jQuery