jquery 表单清空

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

 

posted @ 2015-09-01 14:32  微明Axel  阅读(129)  评论(0编辑  收藏  举报