> $.cookie ('test') will return your cookie if it's been set, but it > will return an empty collection if it's not. An empty collection > doesn't evaluate to false so your test won't work. You need to test > if the collection returned by $.cookie contains something meaningful.
I checked the source, and it returns null for unset cookies. It SHOULD evaluate as false... Cheers -- Ariel Flesler http://flesler.blogspot.com/