Good I have this function of confirmation to delete a record as I can do it for at the moment of confirming to send a parameter of the form towards another php file to proceed to eliminate the registry obviously with ajax. Greetings
function mensajeEliminar() {
swal({
title: "¿Esta Seguro ?",
text: "¿Desea eliminar este usuario?",
icon: "warning",
dangerMode : true,
buttons : ["Cancelar","Aceptar"]
}).then((confirmacion)=>{
if(confirmacion)
swal("Exito","Has eliminado el registro","success");
else
;
});
}