X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.Ajax.html diff --git a/docs/output/Ext.Ajax.html b/docs/output/Ext.Ajax.html deleted file mode 100644 index 6949a191..00000000 --- a/docs/output/Ext.Ajax.html +++ /dev/null @@ -1,667 +0,0 @@ -
-
- Properties - Methods - Events - Config Options - Direct Link -
-
-
Observable
-  Connection
-    Ajax
-

Class Ext.Ajax

- - - - - -
Package:Ext
Defined In:Connection.js
Class:Ajax
Extends:Connection
-
- Global Ajax request class. Provides a simple way to make Ajax requests with maximum flexibility. Example usage: -
// Basic request
-Ext.Ajax.request({
-   url: 'foo.php',
-   success: someFn,
-   failure: otherFn,
-   headers: {
-       'my-header': 'foo'
-   },
-   params: { foo: 'bar' }
-});
-
-// Simple ajax form submission
-Ext.Ajax.request({
-    form: 'some-form',
-    params: 'foo=bar'
-});
-
-// Default headers to pass in every request
-Ext.Ajax.defaultHeaders = {
-    'Powered-By': 'Ext'
-};
-
-// Global Ajax events can be handled on every request!
-Ext.Ajax.on('beforerequest', this.showSpinner, this);


This class is a singleton and cannot be created directly.
- -
- -

Config Options

- - - - - - - - - - - - - - - -
Config OptionsDefined By
  - - disableCachingParam : String
- (Optional) Change the parameter which is sent went disabling caching through a cache buster. Defaults to '_dc'
-
Connection
- -

Public Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDefined By
  - - autoAbort : Boolean
- -Whether a new request should abort any pending requests. (defaults to false)
-
Ajax
  - - defaultHeaders : Object
- -An object containing request headers which are added to each request made by this object. (defaults to undefined)
-
Ajax
  - - disableCaching : Boolean
- -True to add a unique cache-buster param to GET requests. (defaults to true)
-
Ajax
  - - timeout : Number
- -The timeout in milliseconds to be used for requests. (defaults to 30000)
-
Ajax
  - - url : String
- -The default URL to be used for requests to the server. (defaults to undefined)
-
Ajax
- -

Public Methods

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDefined By
- -

Public Events

- - - - - - - - - - - - - - - - - - - - -
EventDefined By
- -
\ No newline at end of file