Erlaunis Erlaunis - 4 months ago 9x
jQuery Question

Get value of a specific input using ".find()"

I want to get the value of an input. In my application, I want to update an entry in my database for each row. So, when I click on the button, I want the values of the corresponding row.

var id_sol = $(this).find('.nom_sol').value;

I made a jsfiddle for you to see what I'm trying to do. I'm trying to get the value of a row.

Can someone tell me how I should do please ?


use this

        var age = $(this).parent().parent().children('td').find('.age').val();