11th Mar 2018, 6:09 AM
anusa intisarn
anusa intisarn - avatar
2 Answers
+ 2
you should wrap one of them in window.onload since you are getting something from the Dom eg: window.onload = function(){ myfunction(); }
11th Mar 2018, 6:21 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
0
thanks you
11th Mar 2018, 6:26 AM
anusa intisarn
anusa intisarn - avatar