jQuery Tutorial Tutorials - jQuery [name^="value"] selector

jQuery [name^="value"] selector

The jQuery Attribute Starts With Selector [name^="value"] is used to select element that have the specific attribute
2. do have the specific attribute beginning exactly with the given value.It is case sensitive.

jQuery [name^="value"] selector Syntax

$('[attribute^="value"]')

jQuery [name^="value"] selector Examples

Following is a simple example which makes use of jQuery Attribute Begin With Selector.
It would find all list item elements with a title that starts with script and hightlight them.
Try now

Date:2019-08-18 00:50:36 From:www.Lautturi.com author:Lautturi