Sweetalert Package And Jquery Submit() Not Working Correctly June 16, 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 postsWhy Are The First Two Text Labels Of My Bar Chart Not Shown?Understanding Crockford's Object.create ShimHow To Get Byte Array From A File In ReactJSWhy Commenting/uncommenting Alert() In Constructor Toggles Variable As Part Of The Obj Instances Post a Comment for "Sweetalert Package And Jquery Submit() Not Working Correctly"
Post a Comment for "Sweetalert Package And Jquery Submit() Not Working Correctly"