Forum Moderators: open
This function:-
function setHkey(hkey_value) {
var myapplet = document.getElementById('the_applet');
myapplet.sethkey(hkey_value);
setCookie('hkey', hkey_value, '365');
return true;
}
Does everything I want it to (so I can see the function is getting called), other than set the cookie.
Just wondering if there's something really obvious that I'm missing (tired eyes). Would appreciate borrowing your fresh set!
Thanks....
Added It may be as simple as your setCookie() function is expecting the expire_days to be an integer instead of a string. Remove the single quotes from around the "365" and it might just work. Otherwise, post back the setCookie() function so we can take a look at that. :)