+ 3
Why am i not able to set the display of div with id page2 as none?
I am really very very annoyed because of this problem cause I have been battling with this problem for past 30 mins đđđđ hope you can help me https://code.sololearn.com/WH1dAbhm8xzw/?ref=app
2 RĂ©ponses
+ 14
You override the "onload" event thus only the last onload is executed.....
Try : addEventListener("load",functionHere); instead of onload=functionHere
+ 4
okay so the second onload overrides the first one ? I thought they add up đđ the that solved my problem