What’s wrong with the following code? It shows nothing in IE but working fine in FireFox. Is there another way to get around with it?
[CODE]…
<script type=”text/javascript” src=”library/control.js?”></script>
<script language=”JavaScript” type=”text/javascript”>
<!–
function runonload(){
refreshCart(); //in control.js
tnode = document.createElement(“a”);
tnode.setAttribute(“href”, “index3e3.php”);
tnode.setAttribute(“target”, “mainFrame”);
tnode.appendChild(document.createTextNode(“oooo3otto”));
ele = parent.mapFrame.document.getElementById(“map”);
while (ele.hasChildNodes()){
ele.removeChild(ele.lastChild);
}
ele.appendChild(tnode);
}
//–>
</script>
<link rel=”stylesheet” href=”library/computek.css” type=”text/css” />
<title>Untitled Document</title>
</head>
<body onload=”runonload()”>
…
Brendan?