D
delraydog
I have the following chunk of code which works fine in FireFox but
throws an error when run in IE:
var body=this.myIFrame.contentWindow.document.body;
var div=document.createElement("div");
div.innerHTML="TEST";
body.insertBefore(div,body.firstChild);
The error is thrown on the insertBefore line. Any ideas?
Thanks,
Cliff
throws an error when run in IE:
var body=this.myIFrame.contentWindow.document.body;
var div=document.createElement("div");
div.innerHTML="TEST";
body.insertBefore(div,body.firstChild);
The error is thrown on the insertBefore line. Any ideas?
Thanks,
Cliff