[jQuery] how to check if element has certain className?

[jQuery] how to check if element has certain className?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>previous discussion inspired me to remember another
question, that i wanted to ask in this list, but have forgotten to do it
))</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>for example, i have element with className "white
active", what is the best way to check out in if statement wether it has
"active" className or no? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>maybe adding special function for this purpose to
the library would be nice, since jQuery allows to achieve marvellous results by
using combination of addClass, removeClass and
toggle...</FONT></DIV></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/