Posted By

akwo on 06/01/10


Tagged

form elements jquery reset Filtering


Versions (?)

jQuery Reset Form by filtering elements


 / Published in: jQuery
 

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

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

Report this snippet  

You need to login to post a comment.