1、获取标签里的内容,例如:
<small id="text">hello,world!</small>
拿到字符串hello,world!的方法是document.getElementById("text").innerHTML
1、获取标签里的内容,例如:
<small id="text">hello,world!</small>
拿到字符串hello,world!的方法是document.getElementById("text").innerHTML