gigebyte / cookies

Automatically exported from code.google.com/p/cookies
0 stars 0 forks source link

Does not set cookies using latest jquery #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps reproduce the problem?
1. Set cookie using $.cookies.set("SomeCookie","SomeValue",options);
2. Get cookie value using $.cookies.get("SomeCookie");
3. show returned value in alert() but shows null.

What is the expected result of the above steps?  What do you see instead?
Expected value is SomeValue. observed value is null

What version of the following are you using?
  jQuery: jquery-lates-min.js
  cookies:2.2.0

What browser/version are you using?
Chrome 15.0.874.121 m

What OS/version are you using?
Windows 7 Professional

Do you have any additional information to provide?

Original issue reported on code.google.com by palak.ch...@gmail.com on 8 Dec 2011 at 9:50

GoogleCodeExporter commented 9 years ago
For the operation you attempting, the jQuery version should have no effect. 
`$.cookies` is just an alias to `jaaulde.utils.cookies` which itself does not 
use jQuery.

Performing the same operation on Chrome 15.0.874.121 on Mac OS X (10.6) w/ jQ 
1.7.1 works fine. That said, your example code shows you passing options, but 
doesn't show what they are. Can you provide that detail?

Thanks,
Jim

Original comment by auldrid...@gmail.com on 10 Dec 2011 at 2:28