Javascript для добавления строк
Код: Выделить всё
$("#add").click(function () {
$("#myTable").last().append("
");
});
Код: Выделить всё
$("#view").click(function () {
$('input[type="checkbox"]:checked');
var n=$(this).closest('tr').text();
alert(n);
});
Код: Выделить всё
Add Remove Remove All View
First name
Last name
Profession
Подробнее здесь: https://stackoverflow.com/questions/410 ... -in-jquery
Мобильная версия