Sidenote: If you do need to use "class" as an attribute / property
name you could access it via:

    json['class']

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