How jquery selects the ending element: You can use the [[attribute$=value]] selector to select the element ending at the specified end. The selector selects each element with the specified attribute and ending with the specified string. Element, the syntax is [$("[attribute$=string]")].
The operating environment of this tutorial: windows7 system, jquery1.10.2 version, DELL G3 computer.
Recommended:jquery video tutorial
##How to choose the ending element in jquery:
In jquery, you can use the[attribute$=value]selector to select elements at the specified end.
[attribute$=value]The selector selects each element with the specified attribute and ending with the specified string.
$("[attribute$=string]")
Welcome to My Homepage
My name is Donald
I live in Duckburg
My best friend is Mickey
My uncle is Scrooge
Who is your favourite:
- Goofy
- Mickey
- Pluto
Related free learning recommendations:javascript(Video)
The above is the detailed content of How to select elements ending with something in jquery. For more information, please follow other related articles on the PHP Chinese website!