User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 401,523 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,359 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1844 | Replies: 2
Reply
Join Date: Oct 2007
Posts: 11
Reputation: srinukatkam is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
srinukatkam srinukatkam is offline Offline
Newbie Poster

Create table 1 to 100 using java script

  #1  
Feb 18th, 2008
I i am new for .net any one can help me creating tables 1 to 100 using javascript
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation: DangerDev is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 32
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Whiz

Re: Create table 1 to 100 using java script

  #2  
Feb 18th, 2008
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
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
~Mitch Ratcliffe
Reply With Quote  
Join Date: Jul 2005
Location: india
Posts: 143
Reputation: katarey is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 15
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

Help Re: Create table 1 to 100 using java script

  #3  
Feb 18th, 2008
Hi there,

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

<html>
<head>
<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 />");
   }
</script>
</head>
<body>
</body>
</html>

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
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 2:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC