Код: Выделить всё
John Doe
Australia
john@doe.com
Jane Smith
Canada
jane@smith.com
Get Emails
Код: Выделить всё
function tableToEmail() {
var recipients = [];
$('input.selector:checked').each(function(){
var email = $(this).closest('tr').find('.email');
recipients.push(email.text());
});
console.log(recipients.join(','));
}
Спасибо!
Подробнее здесь: https://stackoverflow.com/questions/783 ... ected-rows
Мобильная версия