Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant call toast in Laravel + Blade + JavaScript #664

Open
KatiaSishost opened this issue Mar 29, 2021 · 0 comments
Open

Cant call toast in Laravel + Blade + JavaScript #664

KatiaSishost opened this issue Mar 29, 2021 · 0 comments

Comments

@KatiaSishost
Copy link

KatiaSishost commented Mar 29, 2021

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"); } });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant