我在網上看到document.clear();清空文檔的意思,現在瀏覽器不支持;應改成:document.write("");document.close();于是我這樣寫了:<html><head><script type="text/javascript">document.write("");document.close();</script></head><body><h1>fffff</h1></body></html>為什么不能清空???剛接觸,小菜,高手來幫解決一下??!
您好,有誰知道javascript clear()是什么意思嗎?
眼眸繁星
2021-10-27 23:19:48