tags:

views:

25

answers:

2

Hello

I want to get the id value from the spans.

Thanks Jean

+1  A: 
var ids = $('div span').map(function() {
    return $(this).attr('id');
});

Your question isn't very clear so this is all I can come up with.

strager
A: 
$('span').each(function() {
    alert(this.id);
});
Darin Dimitrov