English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
[ attribute ]選択子は、指定された属性の[attribute]要素。
$("[attribute]")
target属性を持つ各要素を選択:
$("document").ready(function(){ $("[target]").css({"background":"green", "color":"white"}); });テストを見て‹/›
パラメータ | 説明 |
---|---|
attribute | 選択する要素の属性を指定 |