English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
[ attribute Seletor] é usado para selecionar elementos comAtributo [attribute]Elemento.
$("[attribute]")
Selecione cada elemento com o atributo target:
$("document").ready(function(){ $("[target]").css({"background":"green", "color":"white"}); });Teste e Veja‹/›
Parâmetro | Descrição |
---|---|
attribute | Atributo do elemento a ser selecionado |