Wo definierst Du cookieArray2? Ich sehe keine Variablendeklaration.
function initiate(){
cookieCount = 0;
if(document.cookie)
{
cookieArray = document.cookie.split(";");
cookieArray2 = new Array();
for(i in cookieArray)
{
cookieArray2[cookieArray[i].split("=")[0].replace(/ /g,"")] = cookieArray[i].split("=")[1].replace(/ /g,"");
}
}
}
Ich versteh nicht warum es lokal wunderbar funktioniert und dann am RedDot kommt dieser Fehler -.-'
LG