Colleagues.
I do not know if I was clear in my doubt, but I would like the Bootstrap mode to disappear automatically after deletion confirmation. For example: the user will delete a product, the message "Product successfully deleted" appears. The modal was about 3 seconds active and then disappeared. The JQuery code I want to put below follows:
$("#produtos").on('click', 'a.remove-item', function(e) {
e.preventDefault();
var pcode = $(this).attr("codigo");
$(this).parent().fadeOut();
$.getJSON( "processar.php", {"remover":pcod} , function(data){
$("#info").html(data.items);
$(".box").trigger( "click" );
});
});