Question

Locked

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

By 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

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

This is one way of doing it

by London Freelancer In reply to create a html table dynam ...

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>

Collapse -

No Google in India?

by SnoopDougEDoug In reply to create a html table dynam ...

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

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Software Forums