Refresh dynamic html table in javascript
I have html table populated from XML. It looks like (simplified):
<table datascr=#xmlData>
<tr>
<td><span DATAFLD="ID"></span></td>
<td><span DATAFLD="NAME"></span></td>
[...]
<tr></table>
I have a JavaScript function that creates a new XML with values dependent on the user's choice. The question开发者_JAVA技巧 is: how can I refresh this html table to display new values ( in javascript)?
Thanks in advance!
As far as i know, you don't need to refresh. The table will display new values as soon as the new dom objects got inserted into this table.
精彩评论