jQuery [atrybut] Selektor
Przykład
Wybierz każdy element z atrybutem id:
$("[id]")
Definicja i użycie
Selektor [atrybut] wybiera każdy element z określonym atrybutem.
Składnia
$("[attribute]")
Parameter | Description |
---|---|
attribute | Required. Specifies the attribute to find |