开发者

Refresh dynamic html table in javascript

开发者 https://www.devze.com 2023-01-27 02:35 出处:网络
I have html table populated from XML. It looks like (simplified): <table datascr=#xmlData> <tr>

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

精彩评论

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

关注公众号