Hi Friends,
Jquery selectors are used to apply effects for all elements or some or group of elements by using classes or IDs and tag names.
Ex: $(‘#id’); This selector selects an element with the given ID.
$(‘.class’) The class selector will gather all elements in the document with the given class name
:first $(‘ul li:first’); Returns the first element in a result set
You can see the complete information at below url.
http://www.pamaya.com/jquery-selectors-and-attribute-selectors-reference-and-examples/
No comments:
Post a Comment