> function checkState(id) { > if ($(id).className == "something") { etc
Use the "is" method: $(id).is("something"); _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
> function checkState(id) { > if ($(id).className == "something") { etc
Use the "is" method: $(id).is("something"); _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/