In mootools I would do something like $('form_id').send({success:function(res){....}});
What is the parallel syntax in jQuery?
Another words:
How would I put my form data (assume id=’bob’) into the following code
$.ajax({
type: 'POST',
url: url,
data: data,
success: success,
dataType: dataType
});
This should do it: