Javascript Errors
Hi, I am getting the following Javascript errors.
tiki_cookie_jar is not definied
Copy to clipboard
function setSessionVar(name,value) { var request = getHttpRequest( "GET", "tiki-cookie-jar.php?" + name + "=" + escape(value)); request.send(''); tiki_cookie_jar[name] = value; }
document.getElementsByName(foo + "icn")(0) is undefined
Copy to clipboard
function setsectionstate(foo, def, img) { var status = getCookie(foo, "menu", "o"); if (status == "o") { show(foo); if (img) src = "o" + img; } else if (status != "c" && def != 'd') { show(foo); if (img) src = "o" + img; } else /*if (status == "c")*/ { hide(foo); if (img) src = img; } if (img) document.getElementsByName(foo + 'icn')[0].src = document.getElementsByName(foo + 'icn')[0].src.replace(/[^\\\/]*$/, src); }
Also, "show/hide right/left menus" does not work in IE 7, but does work in Firefox. The error in IE says
"Could not get display property. Invalid argument."
Is anyone familiar with a fix or can tell me the problem? Thanks.