select row to delete html code example
Example 1: javascript select row all delete
function get_vendor () {
$.ajax({
type: "POST",
url: "sugest_vendor",
beforeSend: function(){
$("#nama-vendor").css("background","#FFF");
},
success: function(data){
$("#nama-vendor").append(data);
}
});
}
Example 2: removing specific row with button html
function deleteRow(r) {
var i = r.parentNode.parentNode.rowIndex;
document.getElementById("myTable").deleteRow(i);
}