Sweetalert Package And Jquery Submit() Not Working Correctly July 18, 2023 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 postsStop Table Row Toggle Upon Clicking LinkUnderstanding Securing Firebase CodeWhy Does Angular's Ng-disabled Works With Bootstrap's Btn Class?Call Javascript Function After Java Code Post a Comment for "Sweetalert Package And Jquery Submit() Not Working Correctly"
Post a Comment for "Sweetalert Package And Jquery Submit() Not Working Correctly"