0

I am creating a application using CANJS. To display the user Information basing on the cookie I am not not knowing how to create and delete a cookie using CANJS.

can some one please help me

freejosh
  • 11,263
  • 4
  • 33
  • 47

2 Answers2

1

Go to http://javascriptmvc.com/docs.html and type cookie in the search box.

$.cookie('name','value');

var value = $.cookie('name');

Or you could use http://jquerypp.com/

noah
  • 21,289
  • 17
  • 64
  • 88
1

may be I'm late but you can try jquery++ cookies

Cherif BOUCHELAGHEM
  • 1,126
  • 2
  • 14
  • 21