jQuery参考手册
jQuery :text 选择器
jQuery :text 选择器
jQuery :text 选择器

实例
选取带有 type="text" 的 <input> 元素:
  
    $(":text")
  
尝试一下 »
定义和用法
:text 选择器选取带有 type=text 的 input 元素。
语法
$(":text")

| jQuery :text 选择器 | 
|---|

选取带有 type="text" 的 <input> 元素:
:text 选择器选取带有 type=text 的 input 元素。

| jQuery :text 选择器 | 
|---|