Questions

create a html table dynamically using javascript by retrieving data from a

+
0 Votes
Locked

create a html table dynamically using javascript by retrieving data from a

satishsgk
hi everybody,
could anyone help me out in creating a table dynamically using javascript with the help of data that are got from a xml file
+
0 Votes
London Freelancer

One way is have a empty table placed on the screen with a ID say
<BR><BR>
<table id=mytableID>
</table>
<BR><BR>
Now you can access this table using getElementById method.
<BR><BR>
Once you get reference to the table , u can use collections liks rows, cells and their methods to add rows and columns dynamically based on your XML Data.
<BR><BR>
Regards,<BR>
<a href="http://www.UrStop.com">UrStop</a>

+
0 Votes
SnoopDougEDoug

Sounds like a school assignment and I am loathe to do a student's work for him/her. Try:

http://www.google.com/search?q=dynamic+table+in+javascript