技术 · · 570 阅读

js获取/修改span的值

var a = document.getElementById("span").innerHTML;

document.getElementById("span").innerHTML = '123';