[Solved] Get all value of one row on click [closed]


Try this solution.

$('.click').on('click', function(){
    //var prev = $(this).parent().find('td:eq(0), td:eq(1)').text();
    var prev = $(this).parent().find('td').not($(this)).text();
    alert(prev);
})

Fiddle Demo

3

solved Get all value of one row on click [closed]