Map is really nice for this.

var attributes = $('.selected').map(function() { return $(this).attr('rel');
});

VP

Reply via email to