I think this is specific to IE 6.0 but...
In javascript I add a div to the dom...I assign an ID attribute. When I later try to pick up the Div by the ID all I get is null???
Any suggestions?
Example:
var newDiv = document.createElement("DIV"); newDiv.setAttribute("ID", "obj_1000"); document.appendChild(newDiv);
alert("Added:" + newDiv.getAttribute("ID") + ":" + newDiv.id + ":" + document.getElementById("obj_1000") );
Alert prints "::null"
Seems to work fine in Firefox 2.0+