Return to Snippet

Revision: 51408
at September 23, 2011 14:20 by vigoncas


Initial Code
// Change #myform by your form id

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

Initial URL

                                

Initial Description

                                

Initial Title
Reset/clear a form

Initial Tags
form, jquery

Initial Language
jQuery