By default a <button>
in a form will submit the form loading the action url of the form or the same page if it doesn't have one.
Just change the button type to button which will prevent it from submitting the form.
<button type="button" onclick= 'submitButton()'> Submit </button>