I've seen many stack overflow posts telling the user to prevent the page refresh by using return false or by changing the input type to button, but this works by disabling submission, which I need. How do I keep submission of my form enabled using my button, without refreshing the page upon use?
EDIT: this post is entirely different from the supposed duplicate. That post is is only concerned with submission of the form, whereas the crux of this post is submission without page refresh