I write up a code to delete my articles within a table from the database.everthing is working fine but when i see the requests from firebug NET tab it shows me 11 requests instead of one .is there any wrong of my code ? I have attached my firebug NET tab result here
//delete form start...........
$("#pard_admin").on("click", ".deleteArticle", function (event) {
event.preventDefault();
var data = $(this).closest('tr').find('td:first').html();
$.ajax({
url: "../pard_site/view/delete.php",
type: "POST",
data: "deleteId=" + data,
success: function (response) {
$("#pard_admin").load('../pard_site/view/articles.php');
}
});
});
//delete form end...........