Execute function against each selected raw first item

Execute function against each selected raw first item

cippallcippall Posts: 4Questions: 0Answers: 0
edited December 2011 in General
I can get the value of each selected raw first item using a solution posted in this forum:

[code]

$('#example tr').click( function() {
if ( $(this).hasClass('row_selected') )
$(this).removeClass('row_selected');
else
$(this).addClass('row_selected');
} );

$('#example tbody tr').click( function () {
alert( $('td:eq(0)', this).html() );
} );
[/code]

What I'm trying to achieve is to run a function assigned to a button on my page using as arguments each of selected raw first item values.Thanks!

Cheers,
Ciprian
This discussion has been closed.