Answers for "why does my form reload the page?"

2

how to make form not reload page

<form onsubmit="return false">
</form>
Posted by: Guest on April-05-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 "why does my form reload the page?"

Browse Popular Code Answers by Language