is there a way to directly select all \'inner\' table cells ( Here example how to Skip 1st td of a table(table_name) .U can write :last-child to skip last td to do some task. You can use :not() with the :first-child and :last-child selectors, like this To exclude first/last rows as well: elements) of a table (i.e. all cells except the ones in the first and last
$('#table_name tr td:not(:first-child)').each(function () {
$(this).html('<input type="text" value="' + $(this).html() + '" />');
});
$('table td:not(:first-child, :last-child)')
$('table tr:not(:first-child, :last-child) td:not(:first-child, :last-child)')