You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's because you're binding an action to "onsubmit" which will by default redirect from the page you're on. Try removing the onsubmit= part in your HTML and add this to your JavaScript instead (using jQuery):
#1007
Open
mereminiGit opened this issue
Sep 19, 2023
· 0 comments
I think it's because you're binding an action to "onsubmit" which will by default redirect from the page you're on. Try removing the `onsubmit=` part in your HTML and add this to your JavaScript instead (using jQuery):
$("form#measure-the-heat").submit(function(event){event.preventDefault();// Prevent the page from redirecting// Put the swal-code here});
Originally posted by @t4t5 in #414 (comment)
The text was updated successfully, but these errors were encountered: