Comment empêcher le formulaire d'être soumis automatiquement JavaScript
//add event.preventDefault() example,
function clickHandler(event){
alert("Hey you clicked the submit button");
event.preventDefault();
}
//this will prevent the page from getting automatically refreshed after
//the submit button is hit.
Potato Poteto