$("body").on("click","#dopingdetaygor",function(button){
var veriid= $(this).attr("veriid");
jQuery.ajax({
type: 'POST',
url: 'dopingdetaymodal.php',
data: { id: veriid },
error: function(hata){
console.log(hata);
},
success: function(veri){
try{
$("#detaymodalbody").html(veri);
$("button[ekle=dopingdetayduzenle]").attr("veriid",veriid);
}
catch(e){
alert(veri+"\n\n\ncatch"+e);
}
}
});
});bu şekilde dener misin?