Easy Tutorial
❮ Event Mousemove Ajax Ajaxsuccess ❯

jQuery [attribute^=value] Selector

jQuery Selectors

Example

Select all <input> elements with a name attribute starting with "nation":


Definition and Usage

The [attribute^=value] selector selects every element with a specified attribute starting with the specified string.


Syntax

Parameter Description
attribute Required. Specifies the attribute to look for.
value Required. Specifies the string the attribute value should start with.

jQuery Selectors

❮ Event Mousemove Ajax Ajaxsuccess ❯