> function checkState(id) {
>   if ($(id).className == "something") { etc

Use the "is" method:

$(id).is("something");

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to