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
Daniel Dela Cruz
6,381 PointsjQuery Utility Methods 1/2
var values = $(".required").map(function(){
return $(this).val();
}
I'm sorry not very good with jquery and dont know what to do from here. It saying i havent set the variable 'values'
3 Answers
Andrew Chalkley
Treehouse Guest TeacherYou're missing a ) at the end for the map function call. So it's throwing a syntax error of sorts and values isn't being set. Add a ) at the end and you'll be sorted.
Daniel Dela Cruz
6,381 PointsTy very much for replying
Andrew Chalkley
Treehouse Guest TeacherNo worries!