0
我有一个关于JQuery .post()函数用于进行ajax调用的问题。现在的问题是在下面的代码:JQuery .post()ajax参数说明
$.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() {
});
请参阅http://stackoverflow.com/a/14754681/1049184和http://stackoverflow.com/questions/8847829 – PeterKA