When you set up a
<form> with an
action you can set it to the URL you want (including the page you’re at). Now, the
method tells the browser if you want to append the form data to the URL (
get) or save it into a special variable (
If you wanted to submit the form without a post-back, you’ll want to look into AJAX form submits. This does stuff in the background and starts a process in the background without leaving the page at all.
All that said, what are you doing with the data inputted in the form?