Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Error in jquery-1.11.0.min.js itself.
Uncaught TypeError: Illegal constructor jquery-1.11.0.min.js:2
Is there anything I can do to fix this? Am I just going have to wait for the people at JQuery to correct the error?
Tnx guys :) It was an $(Document).ready instead of $(document).ready as Christian Hals did mention. I started commenting out my HTML and found it was in the widget.js file and code, sure enough the $(Document).ready was on the first line. I changed it to the proper $(document).ready and the code ran perfectly.
Karolin Rafalski11,368 Points
Do you have any js or jQuery code? Sometimes you'll get an error message if you have an incorrect number of
() or maybe even from missing a
;, or another typo.
Hi, tallwes, You don't need to download nothing. In the index.html, after the: <link rel="stylesheet" href="css/main.css"> You need to add the file: <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> This is the best and fastest way. Have fun :)