Dave Methvin schrieb:
>> 4091 { asJSON: 1, class: "jlink", id: htmlDoc },
>>
>> if IE is suggesting the correct line of the error then
>> its 4091 and then in that case the coma is required
>> to separate  the params from the callback
> 
> The word "class" is a reserved word in Javascript. It isn't used but it's
> still reserved.
> http://www.javascripter.net/faq/reserved.htm
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 

And to make it valid JSON, you have to quote all keys anyway (using 
double quotes):

{ "asJSON": 1, "class": "jlink", "id": htmlDoc }

http://json.org/


-- Klaus





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

Reply via email to