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 trialgreengiantgraphics
3,653 PointsHaving problems getting past AJAX Jquery question on stage 3
When I add the function jquey('#footer').html(); to the code I keep getting error messages. I tried $("#footer").html(); and it tells me this is not correct. Where should I add the method?
2 Answers
greengiantgraphics
3,653 PointsHello Kristen, Thank you for the quick response. I was referring to question three. I was using the ".html()" and I forgot to add the name of the callback to the code. It was a slight over sight on my part. I just figured it out.
var callback = function(response){ $('#footer').html(response) }; $.get('#footer',callback);
sometimes the smallest things can be over looked.
David
Kristen Law
16,244 PointsIf you are referring to the first task, I think it's only looking for the selector: $('#footer')
. In the second task it will ask you to call the load()
method on the selector.
Kristen Law
16,244 PointsKristen Law
16,244 PointsGlad you got it figured out!