0
Is says TypeError: Cannot Set property 'onclick' of null. How do i fix it?
2 odpowiedzi
+ 1
Move content1 and button1 inside the window.onload function. Then you also have an error with the last JS line where the variable name is button instead of button1.
0
window.onload=function(){
Js code goes here
}
Please search for similar questions