User61956409 posted
Hi JagjitSingh,
After trname i want to add Edit & Delete Image
According to your code, it seems that your jQuery code could dynamically add rows to table. If you’d like to add edit/delete images, you could add an additional column.
$.each(customers, function () {
var customer = $(this);
rows.push("<tr>");
rows.push("<td>" + $(this).find("trcode").text() + "</td>");
rows.push("<td>" + $(this).find("trname").text() + "</td>");
//add an additional column for edit and delete images
rows.push("<td><img class='btnedit' src='Images/edit.png' /><img class='btndel' src='Images/delete.png' /></td>");
rows.push("</tr>");
});
Best Regards,
Fei Han