The get() and post() Methods. $ (document).ready (function () {. The OpenJS Foundation has registered trademarks and uses trademarks. Here i will give simple example for jquery ajax form submit with formdata. data: It is used to specify data to be sent to the server. Use this code to submit the form without needing to know the ID: For example if you were wanting to handle the click event for a button, you could use. I recommend a generic solution so you don't have to add the code for every form. }else{ I don't think anyone finds what I'm working on interesting. Nothing is being passed and the POST call is empty (See screenshots below). It can only be attached to