jquery.form.js用法之清空form的方法

上传:qq_67490 浏览: 19 推荐: 0 文件:PDF 大小:25.62KB 上传时间:2020-12-13 11:19:11 版权申诉
本段代码摘取自jquery.form.js中,由于觉得该方法的使用性非常强,同时也可独立拿出来使用。该段代码言简意赅可以很好的作为学习参考。 代码如下:/** * Clears the form data. Takes the following actions on the form’s input fields: * – input text fields will have their ‘value’ property set to the empty string * – select elements will have their ‘selectedIndex’ property
上传资源
用户评论