0

I have been trying to figure this out, and since I can't find any solution, I created a jsfiddle so someone might be able to help me.

I have fullcalendar with the jquery cookie plugin integrated, so that I can 'cache' the view last used by the user.

It works great on Firefox, Chrome, IE8 in Windows XP, but does not work in IE9 under Windows 7.

The calendar simply does not appear and I get an error saying that "Object doesn't support property or method 'cookie'".

Can anyone give me a hand?

Here is the fiddle: http://jsfiddle.net/ECQA6/

Thanks in advance.

Miguel Mesquita Alfaiate
  • 2,851
  • 5
  • 30
  • 56
  • Have you explored localStorage or sessionStorage? Not a solution to your question, but these options have helped me a lot when dealing with jquery cookies. – ganeshk Oct 10 '12 at 18:27
  • No, I haven't tried that. I was hoping to find a solution rather than an alternative, because it seems to work very well in all other browsers. – Miguel Mesquita Alfaiate Oct 12 '12 at 15:50

2 Answers2

0

Well, there is no jQuery method cookie().

You probably mean the method from the jQuery cookie plugin. You need to include the plugin-script before using this method.

feeela
  • 29,399
  • 7
  • 59
  • 71
0

Well I have been able to fix this, so I will let the answer here, just in case someone goes throught the same or a similar issue.

The problem was that I was including a file directly from github, and it was not being handled successfully. Bottom line, next time I won't try to include a file directly from github.

Miguel Mesquita Alfaiate
  • 2,851
  • 5
  • 30
  • 56