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!
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
Maarten van Essen869 Points
Select not appending
somehow my select is not appending. below is my code
var $select = $('<select></select>'); $("#menu").append($select);
Jonathan GrieveTreehouse Moderator 91,247 Points
I'm guessing here but is it that you need to declare your select HTML tags in a ..html() method?
var $select = $("<select></select>").html(); $("#menu").append($select);