aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
* added curly braces around all if/else statementsKarl Swedberg2009-11-281-10/+10
|
* Disable the X-Requested-With header to avoid preflighting remote POST ↵John Resig2009-11-251-5/+7
| | | | requests. Fixes #4601.
* Fixed spacing on the modified Ajax code.John Resig2009-11-251-8/+8
|
* Added a check to make sure that a load request isn't done if the element ↵John Resig2009-11-111-0/+4
| | | | doesn't exist. Fixes #4235.
* Pass in the XHR object as the third argument to the success callback (which ↵John Resig2009-11-111-1/+1
| | | | helps $.get, $.post, and load). Fixes #3363.
* jQuery.ajax modified the passed-in object only to help test the code - this ↵John Resig2009-11-071-1/+1
| | | | shouldn't occur. Fixes #5439.
* The complete event wasn't getting called on local file 404s. Thanks to ↵John Resig2009-11-071-0/+2
| | | | 'mrspeaker' for the patch. Fixes #5468.
* Consistant splits using " " instead of ","visionmedia2009-10-271-1/+1
| | | | | This was used in several other areas, and IMO is easier to read and since nothing is multi-word then we misewell use " "
* Getting $.param working well; Patch by ben_almanYehuda Katz2009-09-171-24/+37
|
* jquery ajax: addition for #2452. Wasn't working correctly in some cases.Ariel Flesler2009-09-151-2/+2
|
* jquery ajax: closes #2452. get() and post() weren't shifting all arguments ↵Ariel Flesler2009-09-151-1/+4
| | | | correctly.
* jquery ajax: closes #4994. Adding 'context' setting to $.ajaxAriel Flesler2009-09-151-14/+18
|
* fix for #5017Brandon Aaron2009-09-141-1/+1
|
* jquery ajax: Misc renameAriel Flesler2009-09-141-3/+3
|
* Adds nested param serialization; Closes #4201 (by merbjedi)Yehuda Katz2009-09-021-11/+16
|
* If the XHR object no longer exists assume that the request was aborted.John Resig2009-08-261-1/+1
|
* Make sure payload is sent for PUT requests. (Thanks alx). Fixes #4971.John Resig2009-07-271-1/+1
|
* Make sure that the script is removed only if it's actually in the page ↵John Resig2009-07-221-1/+3
| | | | still. Fixes #4934.
* Moved the RegExp in ajax.js out from inline, goes towards ticket #4111.John Resig2009-07-191-12/+20
|
* Made a number of syntax tweaks to ajax.js.John Resig2009-07-191-71/+122
|
* Did some cleaning up of ajax.js and fixed a bug from commit [6457].John Resig2009-07-191-5/+10
|
* Fixed a typo with commit [6457].John Resig2009-07-191-1/+1
|
* Standardize on using .nodeName in place of .tagName. Fixes jQuery bug #4923.John Resig2009-07-191-1/+1
|
* Standardizing on .test() and .exec() - moving away from using .match() for ↵John Resig2009-07-191-6/+6
| | | | RegExp. Fixes jQuery bug #4113.
* Fixed the handling of .status == 304 in Opera (it always returns 0). Also ↵John Resig2009-07-141-2/+4
| | | | silently "pass" in Opera 9.6 (which is unable to send the correct headers with setRequestHeader). Follow-up to bug #4764.
* Adding support for etags in $.ajax() - and simplified the if-modified-since ↵John Resig2009-06-151-20/+18
| | | | implementation. Thanks to Lawrence for the patch! Closes ticket #4764.
* Switched to using new Function instead of eval for handling JSON parsing ↵John Resig2009-05-201-6/+14
| | | | (Fixes bug #4680). Added support for JSON.parse, if it exists (Fixes bug #4429).
* fix for #4183Brandon Aaron2009-05-161-4/+1
|
* fix for #4378, base tag causes javascript error in IE when loading ↵Brandon Aaron2009-03-271-1/+3
| | | | cross-domain JS via ajax
* remove trailing spacesBrandon Aaron2009-03-231-3/+3
|
* Made it so that search input elements are now serialized. Fixes bug #4107.John Resig2009-02-181-1/+1
|
* Stopped a memory leak on getScript calls. Fixes #3962.John Resig2009-02-071-0/+3
|
* Landed a fix for timeouts not being aborted properly. Fixes jQuery bug #3874.John Resig2009-01-211-8/+5
|
* jquery ajax: File size optimization for compressed code.Ariel Flesler2009-01-041-1/+3
|
* Moved from the old JSMin to using YUIMin for compressing the jQuery source. ↵John Resig2009-01-041-1/+1
| | | | Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes.
* 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
|