Suppose I'm calling 3 javascript (jquery) files like this:
<script type="text/javascript" src="js/file1.js"></script>
<script type="text/javascript" src="js/file2.js"></script>
<script type="text/javascript" src="js/file3.js"></script>
On file2.js there are script errors (or something with a function goes wrong): for example, it says "function does not exist". Because there is an error in file2.js, scripts in file3.js are not executed.
Is there is a way to make sure scripts in file3.js are still executed? Or, is it possible to bypass or ignore the error on file2.js?