我通过使用得到一个值document.getElementById("forloop").innerHtml.我正在文件中显示该值,其中包含一些div id
document.getElementById("forloop").innerHtml
<div id="forloop"></div>.
但我想将该值分配给文件中的变量.你能问我怎么分配变量?
javascript
javascript ×1