refresh a form using js code example
Example: why does my form reload the page? html js
document.getElementById("prospects_form").addEventListener('submit', function(event){event.preventDefault();});
document.getElementById("prospects_form").addEventListener('submit', function(event){event.preventDefault();});