You can use .serialize() to serialize all form inputs to submit along with a jQuery.load () call.
$('form').serialize()
For example, using jQuery.load() (only GET, if you do not pass it an object for data, then POST)
$.load( 'postTo.php', $('#yourFormId').serialize(), complete(responseText, textStatus, XMLHttpRequest){
Using jQuery.ajax() you can do a POST
$.ajax({ 'url': 'postTo.php', 'type': 'POST', 'data': $('#yourFormId').serialize(), 'success': function(result){
See: http://api.jquery.com/jQuery.ajax/
derekaug
source share