摘要: 关于document.write() document.write()页面覆盖问题 如果在文档已完成加载后执行 document.write,整个 HTML 页面将被覆盖。 <body> <h1> hello </h1> <button onclick="document.write('hello1 阅读全文
posted @ 2021-09-12 22:47 CCCC_03 阅读(37) 评论(0) 推荐(0)
摘要: 关于document.write() 1. document.write()页面覆盖问题 如果在文档已完成加载后执行 document.write,整个 HTML 页面将被覆盖。 <body> <h1> hello </h1> <button onclick="document.write('hel 阅读全文
posted @ 2021-09-12 22:44 CCCC_03 阅读(41) 评论(0) 推荐(0)