Results 1 to 3 of 3

Thread: Ext.lib.Ajax.formRequest for prototype

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    1
    Vote Rating
    0
      0  

    Default 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
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

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

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •