prvent page from refesh on submit code example Example: submit() refreshes the page <form onsubmit="return false;">Form stuff in here</form>