Thank you, mwolf00.
I made two mistakes:
1. When I was writing the ID in the TD the variable is concatenated after the double quotes of Clock, so the ID for every TD created will still be Clock.
Example: Original: document.write('<td ID="Clock"' + x + ' valign="top".....
I changed it to...
Hi.
I am using JavaScript to dynamically create a table with a number of <TD> depending on the user who logged on (some want to see three values and others want to see five values...):
<SCRIPT language="JavaScript1.2">
document.write('<table class="clocks" border="1"...
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.