:: Forum >>

How to insert inside a web page?

I need insert grid inside web page's element: <TD>, <DIV>... And after others web page elements.

However, if I write javascript (document.write), this is the end of the page.
I try using (element.innerHTML) but it don't works.

Thanks.
Guillermo
Thursday, April 20, 2006
Guillermo,

you have to assign an id to your parent element, say

<div id="abc"></div>

Then in the script locate the DOM element -

var div = document.getElementById("abc");

and assign the grid to div innerHTML

div.innerHTML = obj;
Alex (ActiveWidgets)
Thursday, April 20, 2006

This topic is archived.


Back to support forum

Forum search