标签:方法 logs bin sch ref htm marked nbsp win
innerHTML要配合 document.getElementById(id) 方法使用
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = 5 + 6;
</script>
按钮触发见: https://www.cnblogs.com/kaibindirver/p/9781670.html
其他参考 https://www.w3school.com.cn/js/js_output.asp
标签:方法 logs bin sch ref htm marked nbsp win
原文地址:https://www.cnblogs.com/kaibindirver/p/13190925.html