清空form表单下所有的input值-------------jquery

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

   用的jquery版本是1.8.2.min

posted on 2016-03-24 17:10  zgz2016  阅读(1121)  评论(0编辑  收藏  举报

导航