js controls div style
Goshawk
Goshawk 2018-12-03 10:14:27
0
0
841

var box;

window.onload=function () {

box=document.getElementById("box");

}

function aa () {

box.style.height="400px";

}

Is there any problem if the above code is replaced with the following code?

var box=document.getElementById("box");

function aa () {

box.style.height="400px";

}


Goshawk
Goshawk

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template