kevin.dewi
3 May 2007, 3:56 AM
Hello,
I have a little problem. I will automatic commity a file-upload form with the formRequest method of Ext.lib.Ajax.:
var config = {
success: function () { alert("ok"); },
failure: function () { alert("Fehler beim Hochladen des Bildes"); }
};
Ext.lib.Ajax.formRequest("imageUpload", "/index.php?modul=admin_location&action=upload_image", config, null, true, null );
The form was successful committed but the callback method (...alert("ok") in this test-code..) will not invoke.
Any help appreciated.
I have a little problem. I will automatic commity a file-upload form with the formRequest method of Ext.lib.Ajax.:
var config = {
success: function () { alert("ok"); },
failure: function () { alert("Fehler beim Hochladen des Bildes"); }
};
Ext.lib.Ajax.formRequest("imageUpload", "/index.php?modul=admin_location&action=upload_image", config, null, true, null );
The form was successful committed but the callback method (...alert("ok") in this test-code..) will not invoke.
Any help appreciated.