if you're asking how to make a table, you can use this example:
<table border=1>
<tr><!--new row1 -->
<td>hi i am in row1, colunm1<td><!--new column-->
<td>hi i am in row1, colunm2</td><!--new column-->
</tr><!--end row1 -->
<tr><!--new row2 -->
<td>hi i am in row2, colunm1<td> <!--new column -->
<td>hi i am in row1, colunm2</td><!--new column-->
</tr><!--end row2 -->
</table>
if you're asking how to edit the values in the table, you can give the cells an id like so (IE4+ || NS6 only):
<td id="luc">hi i am in row2, colunm1<td>
I wanted to display a Table Dynamically on the web page in 2 columns
Eg:
column1 column2
data1 data2
I tried with the following code but it did not work
FORM1.Document.body.insertAdjacentHTML "BeforeEnd", _
"<table>"
FORM1.Document.body.insertAdjacentHTML "BeforeEnd", _
"</table>"
and with
document.body.outerHTML = "<Table border = 100>"
document.body.outerHTML ="</Table> "
but it did not give me any result
it would be great if some one could help me with it
Thanks
I wanted to display a Table Dynamically on the web page in 2 columns
Eg:
column1 column2
data1 data2
I tried with the following code but it did not work
FORM1.Document.body.insertAdjacentHTML "BeforeEnd", _
"<table>"
FORM1.Document.body.insertAdjacentHTML "BeforeEnd", _
"</table>"
and with
document.body.outerHTML = "<Table border = 100>"
document.body.outerHTML ="</Table> "
but it did not give me any result
it would be great if some one could help me with it
Thanks
I tried with what u said
.insertAdjacentHTML("beforeend","<table>"
it did not work
just now i saw a article with DOM .do u have an sample code ??
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.