Adult Webmaster Forum Adult Affiliates  
Go Back   Adult Webmaster Forum Adult Affiliates > WebmasterBooty.com > Lounge

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2007, 10:09 AM
Junior Member
 
Join Date: Jun 2007
Posts: 1
How do I fill an HTML table using JavaScript?

I need to create a table in HTML with 510 rows and 7 columns, and fill it with data. Is there an easy way to organize the data using JavaScript arrays, then fill the table using one or more functions? I'm trying to avoid editing the HTML source code every time one piece of data needs to be updated.
Reply With Quote
  #2 (permalink)  
Old 06-25-2007, 11:32 AM
Junior Member
 
Join Date: Jun 2007
Posts: 1
Yes, using Ajax in conjunction with JavaScript is the optimal solution.To see examples of how HTML tables are generated dynamically check these two links out:http://www.globalrph.com/davescripts...odman.htmlHope this helps.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Style Customized by The Support Guy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0