4
These are my files:
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap-collapse.js"></script>
<script type="text/javascript" src="js/bootstrap-tab.js"></script>
<script type="text/javascript" src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
I have the following problem:
Mozilla Firefox works perfectly. Chrome and Safari don’t run at all. Error:
Uncaught Syntaxerror: Unexpected token > custom.js:401
Has this problem ever occurred with someone?
There is some error in the console?
– Sergio
Be more descriptive, what error is occurring ? In the Chrome Debug Console (F12) some message is appearing ?
– Ricardo Fiorani
Uncaught Syntaxerror: Unexpected token > custom.js:401 Event.returnValue is deprecated. Please use the standard Event.preventDefault() Instead. jquery-1.9.1.js:3345
– Jefferson Alison
You can post here the content of
custom.js
? Hmmm, by the way, looks pretty big. You can take a look near line 401?– Sergio
And put the error in the question by editing it? It’s easier for other people to understand the problem.
– Maniero
in your browser, press Crtl+Shift+I and note if an error appears in the Console tab. And Update your question with the errors you find there. Telling you the content of your custom.js and what you’re looking to do will be helpful enough for us to help you
– Guilherme
Jefferson, that is great! so you can edit the question and ask an answer, or delete the question :) If you have more problems there are many people here who want to help
– Sergio