Welcome to the Treehouse Community
Looking to learn something new?
Sanjeev Veloo4,713 Points
When using Ajax, does jQuery need to be in the header?
You know everyone's saying to place the jquery scripts in the footer, but what about when you are using Ajax? Is this the exeption when you need the jquery stuff to be in the header of your page?
stjarnanFront End Web Development Techdegree Graduate 56,488 Points
No, you should still use it after your content.
Christopher DeboveCourses Plus Student 18,372 Points
Like Stjarnan said, all your scripts should be at the end of your HTML for better performance. Then your scripts which using jQuery (and potentially Ajax) should be added after the jQuery script.