jQuery :text 選擇器

實例

選擇 type="text" 的 <input> 元素:

$(":text")

親自試一試

定義和用法

:text 選擇器選取類型為 text 的 <input> 元素。

語法

$(":text")