I have a tr in a table header that contains several input fields.
Is there a way that by click on one of these input fields I can get the id of the parent table ?>
You can use
$('#tdId').click(function(){ $(this).parents('table').attr('id'); });
it works.