aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
* Reorganzing the jQuery source (first phase).John Resig2007-09-081-462/+0
|
* Integration of Mike Alsup's excellent form serialization code. The benefits ↵John Resig2007-09-051-4/+20
| | | | | | | | | | | | | | | | | | 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-041-27/+5
| | | | 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/
* Added support for:John Resig2007-09-031-36/+114
| | | | | | | | | | | | | - 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-251-2/+4
|
* 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).
* 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-191-23/+31
| | | | | | | | | | 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
|
* 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
* 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-171-1/+1
|
* Fix bug #814.Mike Alsup2007-01-161-1/+1
|
* Fixed two FF JS warningsJörn Zaefferer2007-01-141-1/+2
|
* 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
|
* Merged in some wiki fixes into the main docs.John Resig2007-01-141-3/+3
|
* Added in jQuery.isFunction().John Resig2007-01-141-3/+3
|
* Touched up the code a little bit, saving some bytes.John Resig2007-01-141-3/+3
|
* Added a fix for <script>s getting executed twice when .load()ed.John Resig2007-01-101-1/+1
|
* Updated param method to encode name as well as value (per spec: ↵Mike Alsup2007-01-071-3/+3
| | | | http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1)
* Improved the categories of a bunch of docs, upped the version to 1.1.John Resig2007-01-071-18/+18
|
* Cleaned up some spacing and braces.John Resig2007-01-061-39/+36
|
* Converted instances of new function(){ ... } to use jQuery.each(...) ↵John Resig2007-01-061-10/+4
| | | | instead. Also, removed unnecessary documentation for trigger functions (.mouseup()!?).
* Changed "Hash" to "Map" in docsJörn Zaefferer2007-01-041-8/+11
|
* Added note for IE's behaviour of stripping script tags when there are no ↵Jörn Zaefferer2007-01-011-0/+1
| | | | chracters in front of it (see #746)