anyone know how to use write() (or anything like it) to add a child div to an already existing div in netscape (under 6) and then be able to access it through js?
i've tried...
document[parentDiv].document.open()
document[parentDiv].document.write("<div id=\"childDiv\"></div>"
document[parentDiv].document.close()
it works fine to add the div but i can't access it through...
document.parentDiv.document.childDiv
anyone got any ideas?
thanks in advance, Twist.
i've tried...
document[parentDiv].document.open()
document[parentDiv].document.write("<div id=\"childDiv\"></div>"
document[parentDiv].document.close()
it works fine to add the div but i can't access it through...
document.parentDiv.document.childDiv
anyone got any ideas?
thanks in advance, Twist.