How can I use jQuery to read a cookie and store it in a variable?
<p>I'd like to read the contents of the "bar" cookie and store it in variable "foo"</p>

<p>My first stab was this, but I'm not getting an alert. I think the assignment statement just isnt correct.</p>

<pre><code>var foo = $.cookie('bar');
alert (foo);
</code></pre>
