What does window.onload mean?
Why not use it directly: box=document.getElementById("box")
This should also be used globally, right?
韦小宝2019-02-28 10:42:36
The function of window.onload is to refresh the page. The variables declared in box=document.getElementById("box") are global variables