BOM基础

1.document.write();如果把它绑定到一个按钮上,在输出的时候他会把页面清空。

原文地址:https://www.cnblogs.com/zhuni/p/4849239.html