Attribute equals selector [name="value"]

Attribute Equals Selector [name=”value”]

attributeEquals selector

Description: Selects elements that have the specified attribute with a value exactly equal to a certain value.

  • version added: 1.0jQuery( "[attribute='value']" )

    attribute: An attribute name.

    value: An attribute value. Can be either a valid identifier or a quoted string.

登录查看完整内容