aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Added the new jQuery.support object and removed all uses of jQuery.browser ↵John Resig2008-12-211-4/+2
| | | | from within jQuery itself (while simultaneously deprecating the use of jQuery.browser).
* The code for handling Ajax timeouts was broken (the abort was being called ↵John Resig2008-11-181-3/+4
| | | | too early). Fixing this allows the test suite to work again.
* Standardized the type checks across core. isFunction and isArray now use ↵John Resig2008-11-171-6/+6
| | | | Object.prototype.toString to verify the type, .constructor use was removed in favor of typeof, typeof checks now use ===, undefined checks use === undefined. All of this is outlined in the new style guidelines: http://docs.jquery.com/JQuery_Core_Style_Guidelines#Type_Checks. Fixes bug #3618.
* Landing fixes for tickets #2935 and #2688 (Aborting ajax doesn't stop the ↵John Resig2008-11-141-4/+15
| | | | setInterval, ajaxStop event isn't getting triggered).
* jquery core: closes #3541. Added isArray.Ariel Flesler2008-10-291-3/+3
|
* jquery ajax: closes #3249. Slight modification on serializeArray, shorter ↵Ariel Flesler2008-08-131-2/+1
| | | | and faster code, and allows a custom form object.
* jquery ajax: misc optimization for $.fn.load().Ariel Flesler2008-08-111-3/+2
|
* jquery ajax: closes #3231. The ajax setting 'dataFilter' can also parse the ↵Ariel Flesler2008-08-071-6/+10
| | | | response.
* jquery ajax: extends #3087. The xhr factory is now an ajax setting called ↵Ariel Flesler2008-08-071-8/+7
| | | | 'xhr' instead of a method (jQuery.getAjaxTransport).
* jquery ajax: closes #3087, #2167, #2128. The ajax transport creation process ↵Ariel Flesler2008-08-041-3/+10
| | | | is exposed to allow overriding.
* jquery ajax: added a comment explaining the last commit.Ariel Flesler2008-06-171-0/+1
|
* jquery ajax: closes #3052. Additional check on httpData() to keep ↵Ariel Flesler2008-06-171-1/+1
| | | | compatibility with older code (form plugin).
* jquery ajax: Fixes #3045. The protocol wasn't being checked to see if a ↵Ariel Flesler2008-06-171-3/+4
| | | | script is required for cross domain requests.
* jquery ajax: passing the settings object to httpData instead of just the ↵Ariel Flesler2008-06-051-4/+4
| | | | dataFilter, so that when called it retains the object as "this".
* jquery ajax: small (misc) improvement to $.param.Ariel Flesler2008-05-281-4/+8
|
* jquery ajax: Closes #1516. load() can get a string of data (not only a hash) ↵Ariel Flesler2008-05-271-1/+1
| | | | and it'll be a GET request.
* jquery ajax: changing a set of &&/|| for ?/:.Ariel Flesler2008-05-251-3/+3
|
* jquery ajax: Closes #2567, additional setting for $.ajax called ↵Ariel Flesler2008-05-161-2/+6
| | | | 'dataFilter'. It's an optional function that receives the ajax response, and returns the sanitized version.
* jqueryjquery ajax: closes #1289. Renamed 'xml' and 'r' to 'xhr'.Ariel Flesler2008-05-151-39/+39
|
* jquery ajax: caching repetive conversions/checks for settings.type in $.ajax.Ariel Flesler2008-05-151-8/+9
|
* jquery ajax: fixed #2865 and #2570. Not passing username to xml.open if it's ↵Ariel Flesler2008-05-151-1/+5
| | | | null, or it open a login popup on some Opera's.
* jquery ajax: closes #2842.Ariel Flesler2008-05-141-0/+1
|
* jquery ajax: renaming jQuery.ajax.re to remote.Ariel Flesler2008-05-131-4/+4
|
* jquery ajax: absolute urls were assumed to be cross domain. Closes #2816.Ariel Flesler2008-05-131-1/+5
|
* jquery: removing unnecessary trailing and leading spaces & tabs.Ariel Flesler2008-05-131-17/+17
|
* jquery event: fixed $.fn.load, closes #2819.Ariel Flesler2008-05-081-2/+5
|
* jquery ajax: support for dynamic data arguments, see #2806; added ↵Jörn Zaefferer2008-05-061-1/+1
| | | | test/data/echoQuery.php for easier testing of sent query strings
* mainly made the code shorter:Ariel Flesler2008-04-291-5/+5
| | | | | | | | | | | - removed some needless if's - replace multiple "var x" for one, comma separated declaration. - added a local fn called now() for the (new Date)s - fixed the indentation of a block, and a typo in a comment. - used fn instead of prototype where possible - jquery fx: exposed the speeds hash as jQuery.fx.speeds. Also fixed (again) line endings
* jquery.ajax: fix for beforeSend-cancelling-sideeffectsJörn Zaefferer2008-04-221-1/+6
|
* jquery.ajax: improvement for #2688, added testJörn Zaefferer2008-04-221-5/+2
|
* Closes #2688Yehuda Katz2008-04-141-1/+4
|
* Fixed #2174 by removing the s.dataType == "json" check for possible cross ↵David Serduke2008-01-171-1/+1
| | | | domain since it causes absolute urls to use a <script> tag ajax retrieval even though absolute urls work fine for retrieving local data. Cross-domain jsonp will still work since the $.ajax() function actually changes the s.dataType to "script" before it reaches this check in cases where it is s.dataType == "jsonp" or s.dataType == "json" and a parameter has =? in it.
* And the rest of the _default change.John Resig2008-01-141-1/+1
|
* Tweaked the default Accept header to _default.John Resig2008-01-141-1/+1
|
* Fixed default property name for Opera (bug #2159).John Resig2008-01-141-1/+1
|
* Just added support for Accept headers in Ajax requests - defaults to the ↵John Resig2008-01-141-1/+14
| | | | correct header depending on the type of request that's being performmed. (Bug #1986)
* Adds support for username and password to $.ajaxYehuda Katz2008-01-071-2/+4
|
* Added code to remove the script tag on successful jsonp calls.David Serduke2007-12-171-0/+2
|
* The extra & was getting gobbled, oops.John Resig2007-12-171-2/+2
|
* Added a fix for bug #2020 - if you want to do data: {callback: "?"}, do ↵John Resig2007-12-171-1/+1
| | | | jsonp: "callback" instead.
* Fixed #1781 for warnings created on load by FF javascript.options.strict == ↵David Serduke2007-12-161-4/+4
| | | | true.
* Added feature #1934 by allowing script.charset to be set through an optional ↵David Serduke2007-12-151-0/+2
| | | | 'scriptCharset' ajax option.
* Fixed #2046 by forcing the dataType to 'html' in the .load() function.David Serduke2007-12-141-0/+1
|
* Added an extra try block to handle FF 3 x-domain requests. (Bug #1557)John Resig2007-12-141-9/+12
|
* Fixed #1750 by adding a url that starts with "//" and is a dataType "script" ↵David Serduke2007-12-121-1/+1
| | | | will now use a cross domain load the same as urls that start with "http".
* Fix #1987 by only doing remote <script> type ajax with GET requests. All ↵David Serduke2007-12-111-2/+2
| | | | other types will be passed on to XMLHttpRequest.
* For fix #1999 changed the RegExp to be non-greedy. Thanks emartin24.David Serduke2007-12-041-1/+1
|
* Fixed #1999 by replacing the 'no-cache' parameter if it is there instead of ↵David Serduke2007-12-041-2/+7
| | | | just appending.
* Removed comments and code related to Safari being unable to do a sync global ↵David Serduke2007-11-301-4/+1
| | | | eval. With the new globalEval() code that should no longer be a problem.
* Fixed #1557, although it doesn't appear to be just an FF3 problem. In this ↵David Serduke2007-11-291-1/+1
| | | | case, $.getJSON() wasn't working from a remote host. I went ahead and added a unit test then added the s.dataType == "json" test for a remote <script> load. The said that json was allowed but the dataType check was missing. This appears to have fixed the bug across all browsers.