jQuery Zen Garden

View jQuery Source code or Download the complete garden.
jQuery Selector Description
ul#menu ul id="menu"
ul.nav ul class="nav"
ul All ul elements
ul.nav>li li that are direct children of ul class="nav"
ul+ul ul immediately preceded by a sibling ul
p~ul ul preceded by a sibling p
ul:has(ol) ul that has at least one ol
ul li li that are descendants of ul
ul[title] ul title=
ul[title=Main Menu] ul title="x"
ul[title^=Second] ul title starts with Second
ul[title$=menu] ul title ends with menu
ul[title*=ary] ul title contains "ary"
   
* All elements
$('li').remove(); Remove all list items (remove method)
   
   
   
   

jQuery Zen Garden is brought to you by Phillip Senn.
Special thanks to Garrett Johnson for the jqGrid example!
Hosting provided by HostMySite for the Adobe Charlotte Users Group.
You can also check out: CFM Zen Garden, and SQL Zen Garden.