I have a problem with replacing html elements.
For example, here is a table:
0 8条回答 攒了一身酷 (楼主) 2020-12-24 03:44 use the attribute "innerHTML" somehow select the table: var a = document.getElementById('table, div, whatever node, id') a.innerHTML = your_text 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
use the attribute "innerHTML"
somehow select the table:
var a = document.getElementById('table, div, whatever node, id') a.innerHTML = your_text