I need help with this problem, it keeps giving me this error in the developer tool even though the file is already in place.
It keep giving me this error:
Failed to load resource: the server responded with a status of 404 (Not Found)
Which I know that it is because it is not at the correct location but I have put it there correctly. Why do I keep getting this? Just now it was working fine but not sure what happen
Here is the location where I keep all the js file:
C:\xampp\htdocs\Evaluation\public\js
test.blade.php
<a class="word-export" href="javascript:void(0)">Export to Word (.doc)</a>
<div class="word-content">
<title>Test</title>
<p>test somehting</p>
<p>jadanjdwlb</p>
</div>
<script src="js/signature_pad.js"></script>
<script src="js/test2.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/FileSaver.js"></script>
<script src="js/jquery.wordexport.js"></script>
<script>
$('.word-export').click(function(events){
$('.word-content').wordExport();
});
</script>
It also gave me this error at my script and I know there shouldn't be anything wrong with it.
Uncaught ReferenceError: $ is not defined
jQuerybefore your script! As it should be first to be added while page loads and binds your events!<script type="text/javascript" src="{{ URL::asset('js/test2.js') }}"></script>