This problem is so strange I have to examine my head.<br>
<br>
This function sets the cookie !<br>
<br>
function SetCookie(sName, sValue)<br>
{<br>
var expires = new Date(3E13);<br>
alert(); //completely empty alert box !<br>
document.cookie = sName + "=" + escape(sValue)+"; expires="+expires+";";<br>
}<br>
<br>
This function does NOT set the cookie !!!!???!<br>
function SetCookie(sName, sValue)<br>
{<br>
var expires = new Date(3E13);<br>
document.cookie = sName + "=" + escape(sValue)+"; expires="+expires+";";<br>
}<br>
<br>
The function is called by this:<br>
<input type="button" value="SetCookie" onclick="SetCookie('Version','2')"><br>
<br>
Please help me I'm going kaka here !<br>
<p>Anders Sjöberg<br><a href=mailto:ansj@perceptive.se>ansj@perceptive.se</a><br><a href= webpages</a><br>
<br>
This function sets the cookie !<br>
<br>
function SetCookie(sName, sValue)<br>
{<br>
var expires = new Date(3E13);<br>
alert(); //completely empty alert box !<br>
document.cookie = sName + "=" + escape(sValue)+"; expires="+expires+";";<br>
}<br>
<br>
This function does NOT set the cookie !!!!???!<br>
function SetCookie(sName, sValue)<br>
{<br>
var expires = new Date(3E13);<br>
document.cookie = sName + "=" + escape(sValue)+"; expires="+expires+";";<br>
}<br>
<br>
The function is called by this:<br>
<input type="button" value="SetCookie" onclick="SetCookie('Version','2')"><br>
<br>
Please help me I'm going kaka here !<br>
<p>Anders Sjöberg<br><a href=mailto:ansj@perceptive.se>ansj@perceptive.se</a><br><a href= webpages</a><br>