Can you customize confirm()
via CSS, or how to implement some modal in it? I tried using Bootstrap but the JS code stopped working:
$(function() {
$(".delete").click(function(){
var element = $(this);
var id = element.attr("id");
var info = 'id=' + id;
if(confirm("Deseja realmente Deletar cliente id: " + id)) {
$.ajax({
type: "POST",
url: "/removeClient",
data: info,
success: function () {
}
});
$(this).parents("#show").animate({backgroundColor: "#003"}, "slow").animate({opacity: "hide"}, "slow");
}
});
});