0
Not Working .....
5 odpowiedzi
+ 2
Coder
Write JS code inside this:
window.onload = function () {
}
+ 3
I believe javascript is loading first and then the document . If document was loading first then there shouldn't be any problem or am i wrong!!
+ 2
Abhay you are correct.
On android the javascript loads before the body of the html document.
https://code.sololearn.com/Wa16A20a6a23/?ref=app
https://code.sololearn.com/Wa6a10A11a12/?ref=app
+ 1
A͢J - S͟o͟l͟o͟ H͟e͟l͟p͟e͟r͟ This code is working now Thanks....., but why have to use it on all codes.
It's not like this on Visual Studio....:(
+ 1
Coder
Because in SoloLearn document load first then JavaScript. Sololearn terminal is different than others.