ajaxSubmit Rückgabeformularelement. Wie können wir auf "Server-Antwort" von "jqXHR" seiner Ajax-Anfrage zugreifen?Wie können wir auf "Server-Antwort" von "jqXHR" von ajaxSubmit-Funktion zugreifen?
0
A
Antwort
0
var response,xhr;
$(form).ajaxSubmit({
success:function (d, t, x) {
response=d;
xhr=x;
}
});
0
Sie müssen auf den Ereignishandler success:
zugreifen.
Siehe Beispiele auf ihrer Seite: http://jquery.malsup.com/form/#ajaxSubmit