Sweetalert Package And Jquery Submit() Not Working Correctly February 04, 2024 Post a Comment Using sweetalert library. Here's my form: ).on('click',function(e){ e.preventDefault(); var form = $(this).parents('form'); swal({ title: "Are you sure?", text: "blablabla!", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, delete it!", closeOnConfirm: false }, function(isConfirm){ if (isConfirm) form.submit(); }); Copy})I think this will give you the right value.Hope it helps Share You may like these postsAjax.ActionLink Triggering From Javascript?Only Change Classes Inside A Hovered ElementCreating Html Content Based On Value In TextboxGet Last Li On A Line JQuery Post a Comment for "Sweetalert Package And Jquery Submit() Not Working Correctly"
Post a Comment for "Sweetalert Package And Jquery Submit() Not Working Correctly"