jQuery :input セレクタ

すべての <input> 元素を選択する:

$(':input')

自分で試してみましょう

定義と使用法

:input セレクタはフォーム要素を選択します。

このセレクタは <button> 元素にも適用できます。

文法

$(':input')