Latest web development tutorials

jQuery [atributo] selector

seletor jQuery seletor jQuery

Exemplos

Selecione cada elemento com o atributo id:

$("[id]")

tente »

Definição e Uso

[Atributo] para selecionar cada elemento com os atributos especificados.


gramática

$("[attribute]")

参数 描述
attribute 必需。规定要查找的属性。


seletor jQuery seletor jQuery