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> </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.