Yes, submitting forms using jQuery is pretty simple.
There is a simple function for sending data using AJAX and is easily attached to the values โโof the form:
$.post(url, $('#myform').serialize(), function(data) {
$('#content').prepend(data);
})
$.post- an easy way. If you need to check for errors and something else, you should check $ .ajax (http://api.jquery.com/jQuery.ajax).
source
share