0

what is window.onload ? what is it's usage in javascript?

23rd Apr 2017, 12:55 PM
Mehran
Mehran - avatar
3 Respuestas
+ 14
You're telling Javascript to wait untill web page is completely loaded. window.onload = function(){ //do something when DOM is ready }
23rd Apr 2017, 3:30 PM
Wisdom Abioye
Wisdom Abioye - avatar
0
Muito obrigado, tirou minha dúvida. Thank you, took my doubts.
10th May 2017, 1:02 AM
Lucas Moraes
Lucas Moraes - avatar