[jQuery] addclass and json
I am trying to pass a value to addClass, If I hardcode 'green' it works
if I do var = green
addClass(var)
It works
If I try to use a value from jquery json data like
addClass(json.class) addClass and jquery die with no visible error in
firebug
If I do
json.class.toString() it works, Prior to version 1.1.1 I never had to
specify toString
Any ideas?
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/