Добавление вvar result = new ActiveXObject("Msxml2.DOMDocument"); var tb = result.createElement("tbody"); var th = result.createElement("th"); var td = result.createElement("td"); td.appendChild(result.createTextNode("some data")); th.appendChild(td); tb.appendChild(th);
tID.appendChild(tb.cloneNode(true));
в html: <table id=tID> </table>
Почему нельзя вставить Node созданный через Msxml2.DOMDocument в документ? ругается на tID.appendChild(tb.cloneNode(true)); - no such interface supported
в чем трабл? |