SyntaxFix
Write A Post
Hire A Developer
Questions
patrick dw's answer is right on.
For kicks and giggles I thought I would post a simple way to return an array of all the IDs.
var arrayOfIds = $.map($(".myClassName"), function(n, i){ return n.id; }); alert(arrayOfIds);