aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes #5803. Reworked jsonp prefilter so that it sets the dataType as jsonp ↵jaubourg2011-01-091-53/+52
| | | | and recognizes requests with originalSettings having jsonp or jsonpCallback to be jsonp. Moved default jsonp option value into ajaxSettings. Attached the transport to "jsonp" which avoids unnecessary testing. Transport factory sets dataType back to json for proper data conversion.
* Fixes #7868. ResponseText is now properly propagated for error callbacks.jaubourg2011-01-091-9/+7
|
* Added a simple cache for xhr objects in the xhr transport.jaubourg2011-01-091-1/+8
|
* Renamed src/transports to src/ajax (in case we need prefilters in the future ↵jaubourg2011-01-063-0/+358
| | | | and to avoid a separate prefilters directory).
* Reorganzing the jQuery source (first phase).John Resig2007-09-082-1103/+0
|
* Forgot to update the $.param() tests.John Resig2007-09-051-5/+5
|
* Re-disabled the Ajax tests in Safari.John Resig2007-09-051-2/+2
|
* Integration of Mike Alsup's excellent form serialization code. The benefits ↵John Resig2007-09-052-10/+46
| | | | | | | | | | | | | | | | | | are as follows: - New method: .serializeArray() This returns an array of name/value pairs representing the contents of a form, or individual input elements. - Enhancement: .serialize() The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements). - Enhancement: .val() This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values. Based upon Mike's code: http://malsup.com/jquery/form/comp/form.js and test suite: http://malsup.com/jquery/form/comp/test.html
* Removed all deprecated functionality for jQuery 1.2. A full list of what was ↵John Resig2007-09-042-44/+15
| | | | removed can be found here: http://jquery.com/blog/2007/08/24/jquery-114-faster-more-tests-ready-for-12/
* Removed all inline documentation. The current version of all documentation ↵John Resig2007-09-041-451/+0
| | | | is stored online, on the wiki: http://docs.jquery.com/
* Re-disabled the ajax tests in Safari 3.John Resig2007-09-031-2/+2
|
* Added support for:John Resig2007-09-032-159/+408
| | | | | | | | | | | | | - Cross Domain getScript $.getScript("http://foo.com/script.js"); - JSONP $.ajax({ url: "script.js", type: "jsonp" }); $.getJSON("script.js?callback=?"); - Cross Domain JSONP/getJSON $.getJSON("http://foo.com/script.js?callback=?"); - No-cache Ajax Requests $.ajax({ url: "test.html", cache: false });
* Added a test case for "purple include", fixed a bug.John Resig2007-08-252-2/+13
|
* New feature: You can now inject portions of a document via .load(), as ↵John Resig2007-08-251-1/+17
| | | | | | | | | | | | | | opposed to the full thing. Examples: - $("#test").load("test.html #something"); - $("#test").load("test.html p.user"); Caveats: - No scripts are injected when a selector is used. - The selector is rooted inside the head and body - it's equivalent to doing: $("body,head").find(selector)
* Marked all the appropriate methods as being deprecated for the 1.1.4 release ↵John Resig2007-08-241-0/+3
| | | | (in preparation for 1.2).
* Brought back a husk method to represent evalScripts. I didn't realize so ↵John Resig2007-08-241-1/+6
| | | | many plugins relied on it (it's deprecated in this release).
* Tweaked the Ajax test suite for Safari.John Resig2007-08-221-5/+10
|
* Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the ↵John Resig2007-08-211-1/+1
| | | | boolean arg should be used, not overwritten with 'true'.
* Make deep .extend() an optional argument - it will go deep if you pass in an ↵John Resig2007-08-211-2/+2
| | | | boolean as the first argument (fixed bug #1028).
* Complete overhaul of the Ajax test suite, it's now passing in all browsers. ↵John Resig2007-08-192-178/+234
| | | | | | | | | | In order to achieve this I had to fix a numbe r of bugs in the suite itself, along with other random bugs that popped up. The following bugs were resolved along the wa y: #1236 (.extend() keeps processing when it hits nulls), #1028 (.extend() now works recursively), #1080 ($.get no longer overwrites the data parameter), #1210 (Creating script and link tags now work), and #1463 (jQuery.global has been re-too led to no longer leak memory and slow things down).
* We were catching exceptions within the success callback of an Ajax request, ↵John Resig2007-08-191-30/+31
| | | | then causing an error callback to be called (which is incorrect). (Bug #1441)
* Brought back jQuery.globalEval(), fixing bug #1425.John Resig2007-07-311-1/+1
|
* nevermind, I'm dumb. =PSean Catchpole2007-07-261-1/+1
|
* Fixed ajax array arguments in $.paramSean Catchpole2007-07-261-1/+1
|
* missing semi-colonBrandon Aaron2007-07-211-1/+1
|
* Added support for parsererror errors from Ajax requests (bug #1145).John Resig2007-07-211-3/+6
|
* Added a fix to prevent the completion callback from firing multiple times in ↵John Resig2007-07-201-1/+1
| | | | Firefox on OSX (fixed bug #1406).
* Completely reworked the evalScripts() code, fixing bugs #1332, #975, and #777.John Resig2007-07-201-49/+9
|
* The isTimeout fix from #970 was causing unintended status bugs (fixed). This ↵John Resig2007-07-201-9/+14
| | | | also includes a fix for errors that occurred during an empty eval in IE (but #1410).
* Made the error message equal to "timeout", if the request timed out. (Bug #970)John Resig2007-07-201-3/+3
|
* Got some XHR tests to run, still some hanging threads (need to investigate). ↵John Resig2007-07-091-31/+31
| | | | Started moving some Ajax tests away from using PHP (more portable this way). Fixed a number of XHR env bugs.
* Fixed an issue with JSON data in packed scripts. (Bug #1298)John Resig2007-06-161-1/+1
|
* Minor cleanupJörn Zaefferer2007-04-251-3/+0
|
* Fix for #1132Jörn Zaefferer2007-04-181-4/+0
|
* Remove XMLHttpRequest shadowing, instead decide at runtime whether to create ↵Jörn Zaefferer2007-04-031-8/+3
| | | | an ActiveXObject or the XMLHttpRequest, potentially fixing #963
* Added test for #970Jörn Zaefferer2007-03-251-0/+13
|
* Fixed docs for ajax timouet to mention that its in millisecondsJörn Zaefferer2007-03-251-3/+3
|
* Fix for #953, use always GET for $.getJörn Zaefferer2007-03-171-0/+1
|
* Backported wiki changes from http://docs.jquery.com/API/1.1.1/AjaxJörn Zaefferer2007-02-271-14/+24
|
* Fix for #991Jörn Zaefferer2007-02-221-8/+14
|
* Rolling back fix for #914 due to firefox double evaling scriptsBrandon Aaron2007-02-171-1/+1
|
* Fix for #914.Brandon Aaron2007-02-071-1/+1
|
* Fix for #884Jörn Zaefferer2007-01-311-1/+4
|
* Fixed doing $.post() without any params.John Resig2007-01-221-0/+5
|
* Added a fix for an undefined param being passed to a load.John Resig2007-01-201-1/+1
|
* Simplified check for XMLHttpRequest (saving a few bytes) and fixed load()-testJörn Zaefferer2007-01-172-3/+3
|
* Fix bug #814.Mike Alsup2007-01-161-1/+1
|
* Fixed two FF JS warningsJörn Zaefferer2007-01-142-2/+3
|
* Converted a lot of for loops to use jQuery.each() instead.John Resig2007-01-141-4/+6
|
* Added back in the .load() fix.John Resig2007-01-141-1/+1
|