Seletor jQuery [attribute=value]
Definição e uso
[attribute=value] Seletor seleciona cada elemento com o atributo e valor especificados.
Sintaxe
$("[attribute=value]")
Parâmetros | Descrição |
---|---|
attribute | Obrigatório. Define o atributo a ser pesquisado. |
value | Obrigatório. Define o valor a ser pesquisado. |