I have a question about the JQuery .post() function for making ajax calls. The question is in the code below:
$.post( "processOrder", $( "#OrderForm" ).serialize(), function() {
// What is the diff between putting code here....
})
.done(function(data) {
// ... and putting it in the "done" instead ?....
})
.fail(function() {
})
.always(function() {
});