$(document).on('click', '#delete', function() { var id = $(this).data("id7"); if (confirm("Are you sure you want to delete this?")) { $.ajax({ url: "product/delete.php", meth...