DEV Community

Alessia Volpi
Alessia Volpi

Posted on

Window onload

How i can solve if windows.onload doesn't work?
I made something like
Window.onload= function(){
Somefunction()
}

And i also tried document.addeventlistener("DOMContentLoaded",somefunction)
But no one of them works. The site state on the same page without doing anything

Top comments (0)