Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

varis darasirikul
10,832 PointsTroubles with jquery Challenge task (again TT__TT)
Call 'map' on the inputs with the class 'required' and return each of their values and store it in a variable named 'values'.And i already wrote this below.
var $values = function (){
var blanks = $(".required").map(function(){return $(this).val();});
}
it doesn´t work. and i don't know what wrong? and this is link to a Challenge task (task 1) http://teamtreehouse.com/library/build-an-interactive-website/form-validation-and-manipulation/jquery-utility-methods

Adam Sackfield
Pro Student 19,663 Pointshttps://teamtreehouse.com/forum/jquery-utility-method-quiz this post should do it
2 Answers

varis darasirikul
10,832 PointsThank you Adam.

Adam Sackfield
Pro Student 19,663 PointsYour welcome again click the tick to close off the question. varis darasirikul
Adam Sackfield
Pro Student 19,663 PointsAdam Sackfield
Courses Plus Student 19,663 PointsSee this post Call 'map' on the inputs with the class 'required' and return each of their values and store it in a variable named 'values