0
How will check your external javascript is link to your html
external JavaScript
2 Réponses
+ 8
window.onload=function(){var source = "source";if(document.documentElement.outerHTML.match(source)){alert(true);}};
(check if it's linked)
+ 1
to link an external JS file use
<script src="path"></script>
inside the <body> tag and before you use any of the JS functions in it