Is there in jQuery a method like load but for submitting a form?
I am looking for a way to submit a form, just like I clicked a submit button, but without refreshing the page.
I am ok with using ajax to do this. But I am wondering if there is some simple way to just submit a form.
If I did plain JS, it would be
document.getElementById("myForm").submit(); But this causes a refresh because it's just like clicking the submit button.
SO I am new to Jquery. Load works great for getting data.
Is there something like Load for submitting data that just submits the form?
If not what do I need to build a sql string and submit that?
Thanks.