hi there!
i've the following piece of html:
<div id="tbl"></div>
and i'm trying to create an object with the following javascript code:
var objDiv = document.getElementById("tbl");
var obj = document.createElement("object");
obj.data = "text.php";
obj.type = "text/html";
obj.id = "obj_results";
obj.width ="500px";
obj.height="300px";
objDiv.appendChild(obj);
this all seems to work fine in firefox, but wont in ie. firefox also
doesn't care about if I create an embed or an param element, the object
is loaded as wanted. is there any solution for my problem?
cheers, christian