Hi there,

I'm new to drupal and try to figure the following thing out.
I want to use the jquery cookie plugin on my website like so

$.cookie('history', 'variable', { expires: 1 });

First I tried to add the cookie.jquery plugin to get this to work but now I found out it's already in the core of drupal 7 so I don't need to add it.
But still I get the error: 'undefined' is not a function (evaluating '$cookie'....

Can someone help me with this problem?