jQuery [attribute=value] 選擇器
定義和用法
The [attribute=value] selector selects each element with the specified attribute and value.
語法
$("[attribute=value]")
引數 | 描述 |
---|---|
屬性 | 必需。指定要查詢的屬性 |
value | 必需。指定要查詢的值 |
The [attribute=value] selector selects each element with the specified attribute and value.
$("[attribute=value]")
引數 | 描述 |
---|---|
屬性 | 必需。指定要查詢的屬性 |
value | 必需。指定要查詢的值 |
如果您想將 W3Schools 服務用於教育機構、團隊或企業,請傳送電子郵件給我們
sales@w3schools.com
如果您想報告錯誤,或想提出建議,請傳送電子郵件給我們
help@w3schools.com