tane
10-11-2004, 02:08 AM
I am just learning and am trying to create a script that will print out the 8 times table but keep getting a error below is the code i have created
<script language="javascript">
var i,j
for(j=1,i=8;i<97;i+=8;j++)
{
document.write("<br>" + j +" X 8 = " + i);
}
</script>
<script language="javascript">
var i,j
for(j=1,i=8;i<97;i+=8;j++)
{
document.write("<br>" + j +" X 8 = " + i);
}
</script>