I need a cell value when I click a row

I need a cell value when I click a row

hugomeanahugomeana Posts: 18Questions: 0Answers: 0
edited December 2012 in General
Hello,

I have this function:

[code]
$('#table tbody').on('dblclick', 'tr', function (e) {
//I need the first cell value here
});
[/code]

But I need the first cell of this row (inside this function). How I get a cell value when I click in the row please??
Thenk you!

Replies

  • allanallan Posts: 63,529Questions: 1Answers: 10,473 Site admin
    Plain jQuery:

    [code]
    $('td:eq(0)', this).html();
    [/code]
This discussion has been closed.