Jquery Cookie Not Working In Ie 8?
EDIT: I was having an issue with the cookie below so I switched to jQuery Cookie and still the error persist so I posted the jQuery Cookie code here but left my original question i
Solution 1:
Are you able to try this code? Does it work better?
Solution 2:
It appears that Fancybox was the issue. I switched to colorbox and using jQuery Cookie it works fine on the page I was having an issue yet it created another issue on another page that is a bit different.
Here is the code that worked:
var$j = jQuery.noConflict();
$j(window).load(function() {
if(!$j.cookie('homecookie')){
$j.colorbox({ inline:true, href:"#home-welcome"});
$j.cookie("homecookie", 1, {expires: 30});
}
});
Post a Comment for "Jquery Cookie Not Working In Ie 8?"