jQuery :button Selector

❮jQueryセレクター

type = "button"で<button>要素と<input>要素を選択します。

$(":button")

定義と使用法

:buttonセレクターは、ボタン要素を選択し、type = buttonの要素を入力します。

ヒント: input:buttonをセレクターとして使用しても、ボタン要素は選択されません。


❮jQueryセレクター