test
test

Reputation: 3

JQuery.cookies library

I'm trying to use the JQuery cookies library http://code.google.com/p/cookies/ But am not able to set key value pairs within the cookie. I can't see how in the documentation, does anyone know how?

Thanks

Upvotes: 0

Views: 597

Answers (1)

bluszcz
bluszcz

Reputation: 4128

From the documentation:

$.cookies.set( 'sessid', 'dh3tr62fghe' );

So, in this case sessid is your key, dh3tr62fghe is value.

If this is not what did you ask, sorry then.

Upvotes: 1

Related Questions