PDA

View Full Version : Ext.lib.Ajax.formRequest for prototype



XEJVI
12 Apr 2007, 4:56 AM
formRequest : function(form, uri, cb, data, isUpload, sslUri){
new Ajax.Request(uri, {
method: 'POST',
- parameters: Form.serialize(form, true)+(data?'&'+data:''),
+ parameters: Form.serialize(form)+(data?'&'+data:''),
timeout: cb.timeout,
onSuccess: createSuccess(cb),
onFailure: createFailure(cb)
});
},

jack.slocum
12 Apr 2007, 6:29 PM
Can I ask what that does?

jack.slocum
12 Apr 2007, 6:30 PM
Ah, I looked it up. Thanks, that would have been fun one to trace!