To make the actual Ajax entry, you can use JQuery.Ajax (has more options) or JQuery.Post
For data, you can use $("form").serialize() to get all the form data. Then you can add additional data manually, like this var data = $("form").serialize() + ",other=data" . This can become messy if you want to add a lot of data. A simpler option would be to add hidden fields inside the form, and they will be included in the data when serialize() called
Example: -This will place all the data, including hidden fields containing additional data.
$.post('www.magicurl.com/api', $("form").serialize(), function (data) {
source share