Latest web development tutorials

jQueryの:専用の型セレクタ

jQueryのセレクタ jQueryのセレクタ

各<p>要素は、親<p>要素の一部のみを選択するには:

$("p:only-of-type")

»をお試しください

定義と使用法

:特定の要素型の親要素の唯一の子に属する各要素を選択するだけ-の型セレクタ。


文法

$(":only-of-type")


jQueryのセレクタ jQueryのセレクタ