Логин:

Пароль:

Форумы
Общие вопросы
Document Object Model
Обсуждаем конференцию
Web Usability (test)

Document Object Model

Добавление в

> 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
>
> в чем трабл?
>
>
>
СообщениеАвторДата
Anton23.01.2003 14:34
Гость16.03.2003 15:58
Leechy23.01.2003 18:06
Anton23.01.2003 18:58