+ 1
Pls whats wrong with this code its working perfectly on my acode app but is not working here why pls guys need help
2 ответов
+ 3
In this case, javascript is loaded before the html document and therefore does not see the html elements it is referring to.
Use the onload method:
onload = function(){your code}
+ 1
Thanks its working perfectly