Cookies in jQueryGUGuest User9yAsked May 11, 2017, 1:17 AM1.2k Here's my js to create cookie using jQuery. But it is not working. Why?
Manas Mohapatra9y agoPosted May 11, 2017, 1:46 AMDid you check by enabling the Developer tool in Browser. Follow below link to see cookies: https://developers.google.com/web/tools/chrome-devtools/manage-data/cookies
Dharmraj Thakur9y agoPosted May 11, 2017, 1:45 AMYou have to use expiry duration. If you do not specify expires then cookie will destroy after browser exit. $.cookie("test", 1, { expires : 10 }); http://stackoverflow.com/questions/1458724/how-do-i-set-unset-cookie-with-jquery
Manas MohapatraPosted May 11, 2017, 1:46 AM
Dharmraj ThakurPosted May 11, 2017, 1:45 AM