I have the following error:

SCRIPT5009: 'JSON' is undefined jquery.jsoncookie.js, line 50 character 3

In jquery.jsoncookie.js 3 plugin does not find 'JSON'.

SCRIPT5009: 'JSON' is undefined jquery.jsoncookie.js, line 50 character 3 document.cookie = [ key, "=", encode( JSON.stringify( value ) ), expires ? "; expires=" + expires.toUTCString() : "", options.path ? "; path=" + options.path : "", options.domain ? "; domain=" + options.domain : "", options.secure ? "; secure" : "" ].join( "" ); 
  • And does not work only in IE? O_o - Zowie
  • Yes, only in IE7. - Nigina
  • thanks helped. - Nigina

1 answer 1

Did you hook up the JSON implementation (as written here below)? IE 7 does not have a native JSON object.