Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
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 :)