[SOLVED]CSS class selector.
Posted: Wed Jan 09, 2008 9:56 pm
What CSS class selector does jQuery support that allows me to select an element with two classes? For example let's say I had multiple elements that have the class "top". And in that set of elements each has the class "left", "center" and "right", respectfully. How would I select the element that has both the "top" class and the "center" class?
This doesn't really cut the cake.
Is there a way to do this?
Code: Select all
$(".top left")Is there a way to do this?