Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

$cookie - set cookie for entire site or page-only

0 votes
1 view
added 6 days ago in jQuery by lcjr Sergeant (2,120 points)
// for entire site, use path
$.cookie('app-banner', 'showed', { path: '/', expires: expAppBanner });

// for page-only;
$.cookie('app-banner', 'showed', { expires: expAppBanner });


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.