how to make a form submission in html not change your current page code example
Example: submit() refreshes the page
<form onsubmit="return false;">Form stuff in here</form>
<form onsubmit="return false;">Form stuff in here</form>