Answers for "javascript refresh page on form submit"

1

submit() refreshes the page

<form onsubmit="return false;">Form stuff in here</form>
Posted by: Guest on October-20-2020
0

why does my form reload the page? html js

document.getElementById("prospects_form").addEventListener('submit', function(event){event.preventDefault();});
Posted by: Guest on March-03-2021

Code answers related to "javascript refresh page on form submit"

Browse Popular Code Answers by Language