click button to see mult table
 


<html>
<head>
<script language ="JavaScript">
<!--
function multTable(){
document.write("<PRE>")
var i,j,total
for(i=1;i<10;i++)
{//i loop
for(j=1;j<10;j++)
{//j loop
  total=i*j
  total=" "+total
  if(total<10)total=" "+total
  document.write(total)
  }//j loop
  document.write("<BR>")
}//i loop
document.write("</PRE>")
}

//-->
</script>
</head>
<body>
<form>
click button to see mult table
<input type="button" value="mult table"
onclick="multTable()"><br>

</form>
</body>
</html>