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
post
You probably want to use serialize if you don't want to manually deal with each element.
$.ajax({ type: "POST", url: "form.php", data: $("#form_id").serialize() success: function(msg) { alert("Form Submitted: " + msg); } });