<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>表单选择器</title> <script src="jquery.min.js"></script> <script src="four.js"></script></head><body><form> <input type="text" disabled="disabled" name="user" value="123"/> <input type="password" name="pass" value="456"/> <input type="radio" name="sex" value="男"/>男 <input type="radio" name="sex" value="女"/>女 <textarea></textarea> <select name="city"></select> <button></button></form></body></html>$(function(){ alert($('input:enabled').size());});
- 3 回答
- 0 关注
- 1794 浏览
添加回答
举报
0/150
提交
取消