![]() |
|
|||
|
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.
|
|
|||
|
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.
|