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 trialLewis Marshall
22,673 Pointsanimsition keeps loading when .ready() is added
Without using .ready() in the script the animsition plugin works fine. But when .ready() is added it just keeps loading for infinite. why is this?
$(function() {
$('.animsition').animsition();
});
Abhijit Das
5,022 PointsAbhijit Das
5,022 PointsHi Lewis Marshall, i think we don't need to add here the document.ready() method because; we put all js file inside our HTML pages before ending the body tag; therefore all JS files are loading after the document has been ready.