javascript: < /p>
Код: Выделить всё
$("#target").click(function () {
var removecolunms = $("#textval").val();
$('table colgroup').find('col:eq("' + removecolunms + '")').remove();
$('table tr').find('th:eq("' + removecolunms + '")').remove();
$('table tr').find('td:eq("' + removecolunms + '")').remove();
});
Подробнее здесь: https://stackoverflow.com/questions/334 ... om-a-table