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