+ 4

please help. what is "window.onload"

example : window.onload = function()

12th Oct 2019, 5:54 PM
A̳X̳M̳E̳D̳ ̳Y̳A̳R̳E̳
A̳X̳M̳E̳D̳ ̳Y̳A̳R̳E̳ - avatar
3 ответов
+ 7
Window.onload is something that is used to load javascript only after the html and css parts are fully loaded. window.onload=function(){ //Your js }
12th Oct 2019, 5:56 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 5
alex tusinean thnk u so much
12th Oct 2019, 6:01 PM
A̳X̳M̳E̳D̳ ̳Y̳A̳R̳E̳
A̳X̳M̳E̳D̳ ̳Y̳A̳R̳E̳ - avatar
0
It is a function to test for when it is finished loading html
20th Oct 2019, 6:15 PM
Nathan Davis
Nathan Davis - avatar