if($("div").is(".foo")) { // do super cool stuff }
On 4/17/07, Geoffrey Knutzen <[EMAIL PROTECTED]> wrote:
How can I test if an element has a specific class? If I have <div class="foo bar"> How can I check if the element has class=bar Seems like it should be easy, but I am having troubles. Thanks -Geoff
-- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com