Though $.ajax() can be used to do ajax things, I don\'t think its fit for posting values of a big form.
How would you post
a big form (many fields) with
You can use jQuery.post( url, data, callback, type), as its simpler to jQuery.ajax( options ).
By using serialize, you can send the whole form automatically.
$.post("/post_handler/",
$("form#my_form").serialize(),
function(json){
/*your success code*/
}, "json");
A more complete example:
This would override the default post
, and perform it with AJAX.