hi,
document.cookie = document.koords.startk.value; expires= + ablauf.toGMTString();}
der erste befehl endet nach dem ersten semikolon.
danach erfolgt eine wertzuweisung an die variable expires.
auch so aus dem IRC Chat: document.cookie = document.koords.startk.value; + "expires="+ ablauf.toGMTString();}
gleiches problem: erster befehl endet nach dem ;, danach folgt fehlerhafter code (+ ...).
funktioniert es nicht... :/
schau dir das beispiel in self an, http://de.selfhtml.org/javascript/objekte/document.htm#cookie (2. beispiel).
dort siehst du, wie der string _richtig_ aussehen muss - und dann überleg dir mal, wie du dir diesen mit den verfügbaren stringoperatoren aus dem, was du hast, zusammensetzen kannst.
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."