View Single Post
Old 08-11-2003, 02:13 AM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
i was trying to make it change the width of an html table.
Code:
<script>
int i = 0;
</script>

<table border=1 cellspacing=0 cellpadding=0 width=<script>document.write(i);</script>% bgcolor=blue>
<tr><td>&nbsp;</td></tr>
</table>

<script>i=10;</script>
<script>i=20;</script>
<script>i=30;</script>
.. each time the new variable is defined, i want to update the width of the table.

the new variables have to be defined in a new script like that because i'm flushing the info from the server side as the script processes.

i could not get that to work.
__________________
Mike
sde is offline   Reply With Quote