-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: $(...).on is not a function #55
Comments
Are you using jQuery? In which Version? If you're using jQuery, are you using another library that might bind to |
Hi Andy, I haven't changed any of the files, just downloading and then opening the examples. |
You downloaded the repository from github and opened the html files in /example? I checked those, none of them is calling As they use old jQuery, they use the |
Hey Andy, Just download the files and opened the examples, nothing works and have this issue Uncaught TypeError: $(...).on is not a function (jquery 1.4.4). Using FF 50.1.0 And Chrome 55.0.2883.87 m (64-bit). Thank you |
@Gnomal again, please tell me where you downloaded these files! |
@andypillip https://github.com/protonet/jquery.inview Here :) Once one by one, once by ZIP |
@Gnomal it's that the example files are broken. According to the README jquery.inview requires jQuery ≥ 1.8, while the example filese still reference 1.4. As a workaround you can alter the example files and use an up-to-date jQuery. F.e. in advanced.html, replace the line <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> with <script src="https://code.jquery.com/jquery-1.8.0.min.js"></script> The method |
thank you |
var jqueryObj = $; |
Downloaded this template: Works fine on localhost. But get following error on my cloud server: Uncaught TypeError: $(...).easyResponsiveTabs is not a function |
if not the jquery version error once clear the catch of your browser because of the Jquery files already present in the cache it will cause the problem |
Thanks for the tip. Clearing my cache got took care of the Uncaught TypeError: $(...) console error. |
I could solve the problem, i had installed bootstrap with JQuery and his library was changing my js and the way it works, so i decided to delete the JQuery Bootstrap href and it solves my problems thanks to andyphillip |
use 'jQuery' instead of '$'. |
This was absolutely the issue for me as well, 2 years on! Thank you @CristianAlvG |
I get the above error when I try and open the example files
The text was updated successfully, but these errors were encountered: