|
-
Sep 22nd, 2000, 02:15 PM
#1
Hi there..... I'm getting stuck now that I want to assign specific text to a cell of a table using dhtml.
here's what I need to do:
<table id="mytable" border="1" cellspacing="1" width="100">
<tr>
<td id="A1" width="20"> </td>
<td id="A2" width="20"> </td>
<td id="A3" width="20"> </td>
</tr>
</table>
<script language=vbscript>
mytable.cells.item("A1").style.text = "day 1"
mytable.cells.item("A2").style.text = "day 2"
mytalbe.cells.ietm("A3").style.text = "day 3"
</script>
the above codes don't seem to be doing the job..... if you have a better idea please forward your suggestion..... thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|