Cant call toast in Laravel + Blade + JavaScript
KatiaSishost opened this issue · comments
KatiaSishost commented
in my blade if i use
`div class="toast"
data-title="Hi, there!"
data-message="Hope you like paper panel."
data-type="success">
`
it work properly... show toaster at load... but i need show it toaster when a function are ok
$.ajax({ url: "xxx/store", type: "POST", data: fd, processData: false, contentType: false }).done(function(response){ if(respuesta && response.ok){ calendar.refetchEvents(); alert("OK"); *****here i need the toastr limpiar(); }else { alert("FAIL"); } });