Showing posts with label selectors. Show all posts
Showing posts with label selectors. Show all posts

Tuesday, May 29, 2012

jQuery multiple class selector


I want to select all the elements that have these two classes 'a' and 'b'. So, only the elements that have both classes. When I use $(".a, .b") it gives me union, but I want intersection.

Friday, May 18, 2012

how to create an "array of selectors' in objective-c


i'm using the iphone sdk (3.0) and i'm trying to create an array of selectors to invoke a variety of methods within one class.

Tuesday, April 17, 2012

jQuery :contains selector to search for multiple strings


Assuming i have:




<li id="1">Mary</li>
<li id="2">John, Mary, Dave</li>
<li id="3">John, Dave, Mary</li>
<li id="4">John</li>