三、表单域选择器

1. :input选择器

$(":input")

用于选择所有input,textarea,select,button元素。

2. :text选择器

<input type="text" /> 

$(":text")

3. :password选择器

<input type="text" />

$(":password")

4. :radio选择器(单选按钮)

<input type="radio" />

$(":radio")

5. :checkbox选择器(复选框)

<input type="checkbox" />

$(":checkbox")

6. :file选择器(文件域)

<input type="file" />

$(":file")

7. :image选择器(图像域)

<input type="image" />

$(":image")

8. :hidden选择器(不可见元素)

display:none;或<input type="hidden" />

$(":hidden")

9.:button选择器

<button>...</button>或<input type="button" />

$(":button")

10. :submit选择器

<button>...</button>或<input type="submit" />

$(":submit")

11. :reset选择器(重置按钮)

<input type="reset" />

$(":reset")

 

posted @ 2012-05-20 17:12  妖儿  阅读(165)  评论(0编辑  收藏  举报