1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    1
    Vote Rating
    0
    XEJVI is on a distinguished road

      0  

    Default Ext.lib.Ajax.formRequest for prototype

    Ext.lib.Ajax.formRequest for prototype


    Code:
     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)
         });
     },

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Can I ask what that does?
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Ah, I looked it up. Thanks, that would have been fun one to trace!
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 1