jQuery [attribute = value] Selector
Definition and Usage
[Attribute = value] selector to select each element with the specified attributes and values.
grammar
$("[attribute=value]")
参数 | 描述 |
---|---|
attribute | 必需。规定要查找的属性。 |
value | 必需。规定要查找的值。 |
[Attribute = value] selector to select each element with the specified attributes and values.
参数 | 描述 |
---|---|
attribute | 必需。规定要查找的属性。 |
value | 必需。规定要查找的值。 |