jQuery [öznitelik^=değer] Seçici
Örnek
"Nation" ile başlayan bir ad özniteliğine sahip tüm <input> öğelerini seçin:
$("input[name^='nation']")
Tanım ve Kullanım
[attribute^=value] seçicisi, belirli bir dizede başlayan bir değerle belirli bir niteliğe sahip her öğeyi seçer.
Sözdizimi
$("[attribute^='value']")
Parameter | Description |
---|---|
attribute | Required. Specifies the attribute to find |
value | Required. Specifies the string the value should begin with |