jquery 清空表单

  1. $(':input','#myform').not(':button, :submit, :reset, :hidden') .val('') .removeAttr('checked')   .removeAttr('selected'); 
posted @ 2011-01-06 13:37  HTL  阅读(2406)  评论(0编辑  收藏  举报
htl