开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜