In JavaScript "class" is a reserved word. Perhaps that's the problem?

If not then it'd be best to post a URL to an example page so we can
have a look at it.

Karl Rudd

On 2/27/07, Richard Thomas <[EMAIL PROTECTED]> wrote:
> 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/
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to