10 Years
Discussion Span
Last Post by katarey

javaScript is not from .net.

creating tables 1 to 100 using javascript

do you want to create 100 table ???

-just loop through 1 to 100
- select parent element for tables
- create table element using dom api documet.createElement("table");
-add table element using dom api appendChild()

i hope this will help


Hi there,

well you may uses this script to create the tables of 1 to 100,

<title>Tables 1 To 100 </title>
<script language="javascript" type="text/javascript">
    for (i=1;i<=100; i++)
      document.write("Table of: "+ i+"<br />");
      for(j=1; j<=10; j++)
        document.write(i + "X" + j +" = " + (i*j) + "<br s/>");
      document.write("<hr />");

I am not sure if you are talking about HTML Tables :)) if yes then let me know maybe I may help in that as well

hope this may help you

Rahul Dev

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.