163
rated 0 times
[
170]
[
7]
/ answers: 1 / hits: 15783
/ 8 Years ago, wed, july 20, 2016, 12:00:00
I have two external javascript files within my html page.
I need to make sure that the first file, script1.js, is run before my second script, script2.js.
I have them within the body of my html page; how can I ensure that script2 is not used until the functions in script1 are run?
<!DOCTYPE html>
<html lang=en>
<head>
</head>
<body>
<!-- Script 1 -->
<script src=js/script1.js></script>
<!-- Script 2 -->
<script src=js/script2.js></script>
</body>
</html>
More From » jquery