We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$(function() { $(document).on('click', '.text-danger', function() {
var id = $(this).attr('id'); var $ele = $(this).parent().parent(); var rate_delete = 'rate_delete'; swal({ title: "Are you sure?", text: "Do You Really Want to Delete !", icon: "warning", buttons: true, dangerMode: true, }) .then((willDelete) => { if (willDelete) { $.ajax({ type: 'POST', url: 'ajax-helper.php', data: { 'id': id, rate_delete: rate_delete }, success: function(data) { $ele.fadeOut().remove(); location.reload(); } }); } else {} }); });
});
The text was updated successfully, but these errors were encountered:
Hey @vinithav ,
Use
Swal.fire({});
And also enabled the alwaysLoadJS in you .env file
SWEET_ALERT_ALWAYS_LOAD_JS=true
Sorry, something went wrong.
Closed due to inactivity
No branches or pull requests
My code
$(function() {
$(document).on('click', '.text-danger', function() {
});
The text was updated successfully, but these errors were encountered: