The basic CSS Selectors supported by jQuery

* Matches any element.

E Matches all element with tag name E.

E F Matches all elements with tag name F that are descendents of E.

E>F Matches all elements with tag name F that are direct children of E.

E+F Matches all elements F immediately preceded by sibling E.

E~F Matches all elements F preceded by any sibling E.

E:has(F) Matches all elements with tag name E that have at least one descendent with tag name F.

E.C Matches all elements E with class name C. Omitting E is the same as *.C.

E#I Matches element E with id of I. Omitting E is the same as *#I.

E[A] Matches all elements E with attribute A of any value.

E[A=V] Matches all elements E with attribute A whose value is exactly V.

E[A^=V] Matches all elements E with attribute A whose value begins with V.

E[A$=V] Matches all elements E with attribute A whose value ends with V.

E[A*=V] Matches all elements E with attribute A whose value contains V.

– Ananth Ramasamy Meenachi www.msarm.com

Advertisements

About msarm

Aspiring Enterprise Architect.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s