JQuery 清空表单内容

时间:2016/10/14 14:43:00来源:互联网 作者:flyso 点击: 2077 次

$(".Flysoform")[0].reset();


补充方法

$(':input','#Flysoform') 

.not(':button, :submit, :reset, :hidden') 

.val('') 

.removeAttr('checked') 

.removeAttr('selected');


Copyright © 2005 - 2016 flyso.cn. 飞搜 版权所有 鄂ICP备11002783号-3