Reputation: 1
At first, I'm sorry about my English :))
I had some problems when i try to include file .js on index.html
<script src "../src/man/js/Generator.js"> </script>
but when i press F12 for debug, i get an error like: "failed to load '../src/man/js/Generator.js' from source/src/man/js/Generator.js" this is file's structure:
so how can i deal this?
Upvotes: 0
Views: 276
Reputation: 152
Please add equal src = "path"
<script src="../src/man/js/Generator.js"> </script>
Upvotes: 0
Reputation: 6475
You are missing the =
:
<script src="../src/main/js/Generator.js"></script>
Upvotes: 1
Reputation: 66
Oh, you must have check your Path.
<script src "../src/man/js/Generator.js"> </script>
won't work.
but,
<script src "../src/main/js/Generator.js"> </script>
will work.
Man, you forget the 'i' in 'main'
Upvotes: 0