Commit graph

55 commits

Author SHA1 Message Date
Jörn Zaefferer 3e165ae5ab Fixed docs for $.ajax' processData option 2006-12-13 19:04:36 +00:00
Jörn Zaefferer 010a112e04 Fixed #471 2006-12-11 08:53:33 +00:00
Jörn Zaefferer f1c91fd023 Renamed $.ajax's "before"-option to "beforeSend" to prevent conflict with form plugin - may be a good convention to use beforeXXX and afterXXX everytime for callbacks... 2006-12-05 22:58:27 +00:00
Jörn Zaefferer 2bdd208e41 Renamed preprocess to before, for consistency with form plugin 2006-12-04 19:40:25 +00:00
Jörn Zaefferer a6ce303187 Simplified XMLHttpRequest shadow (tested on 5.5, 6 and 7); Introduced preprocess callback (#384) - IE seems to fail to send the correct headers 2006-12-04 19:37:49 +00:00
Jörn Zaefferer 39c05d3649 Fixed jQuery.eval (or rather, jQuery.globalEval to avoid problems with FF) 2006-12-02 13:43:02 +00:00
Jörn Zaefferer dc6f9cfc9c Fixed serializing arrays (bug #448) 2006-11-30 20:52:24 +00:00
Jörn Zaefferer fea94528e2 Fixed docs for $.ajax for data option 2006-11-28 11:36:54 +00:00
Jörn Zaefferer ae58d24fd5 Another attempt to fix the getScript problem 2006-11-21 09:55:34 +00:00
Jörn Zaefferer 953bf593a6 Fixed typo in comment 2006-11-21 09:21:38 +00:00
Jörn Zaefferer 15a30ba90c Better fix for #407 issue 2006-11-21 09:14:29 +00:00
Jörn Zaefferer 46faa03820 Fix for bug #407, yet to be tested 2006-11-20 20:37:28 +00:00
Jörn Zaefferer 7cc550727c Testsuite 2.0 2006-11-18 13:37:01 +00:00
Jörn Zaefferer 797ccbaf31 Heavily improved documentation for $.ajax, but may still need some fixes 2006-11-18 10:37:33 +00:00
Jörn Zaefferer cb0fbbbac1 Return XMLHttpRequest from $.ajax() to allow aborting etc. 2006-11-17 14:49:44 +00:00
Jörn Zaefferer c119a80ea3 Added async option (ticket #367) 2006-11-17 10:15:31 +00:00
Jörn Zaefferer 1e620109d7 Fixed an issue with getJSON (type was not correctly passed on when data was ommited); Added more options to $.ajax to provide more flexibility (bug #371) 2006-11-17 09:56:30 +00:00
Brandon Aaron 6404d6e3ec Missing '}' in jQuery.param method in ajax.js 2006-11-16 20:39:28 +00:00
Stefan Petre 317ea5caea if one value of key/value pairs is array then treat each array value in part 2006-11-16 10:30:14 +00:00
Jörn Zaefferer 9261e7ee13 Fixed a missing semicolon 2006-11-13 10:37:42 +00:00
Jörn Zaefferer 93c1340d55 Fixed doc for $.ajax data option 2006-11-11 12:11:37 +00:00
Jörn Zaefferer d0eda6827f Fixed docs for load; Added the response as third paramter for load callback (partly fixing bug #337) 2006-11-11 12:08:48 +00:00
Jörn Zaefferer 7ff54c4034 Refactored all logic from $.get and $.post into $.ajax, now they are only convenience delegators 2006-11-11 11:34:51 +00:00
Jörn Zaefferer 03b0a9c654 Modified test for load(); added fix for trigger, where it modifies data passed to it, which causes ugly side-effects 2006-11-09 21:16:03 +00:00
Jörn Zaefferer 98e8ea3186 Added pseudo-fix for #164; fixed some tests that failed in IE 2006-11-07 11:19:44 +00:00
Klaus Hartl 7d58c0f936 Changed return type to undefined for certain functions, as discussed. 2006-11-04 21:09:05 +00:00
Jörn Zaefferer 7b780def0d Refactored ajax module: Dropped internal arguments from ajax(); Modified testsuite to improve display 2006-11-03 11:30:57 +00:00
Brandon Aaron 40b55adf5c Another $ bites the dust. Should be all of them now. 2006-11-01 21:59:56 +00:00
John Resig af961d58c2 Fixed all warnings generated when javascript.options.strict is enabled in Firefox about:config. 2006-10-15 02:57:55 +00:00
Jörn Zaefferer e7669f64d8 Added test for #174; Modified failing (IE) tests for find 2006-10-13 14:56:14 +00:00
Jörn Zaefferer bfa8306633 Fix for #265: Initialize defaults for global and timeout properly when $.ajax is called internally (argument list instead of hash) 2006-10-13 14:02:29 +00:00
Jörn Zaefferer cb53fc02b6 Fixed #216, added several tests for ajax module and fixed more stuff revealed by those; Reverted Johns change for each (changeset 433), caused way too much trouble 2006-10-13 13:57:55 +00:00
Jörn Zaefferer 2e544e9eb8 Added 2 of 3 fixes of #164 2006-10-11 13:35:05 +00:00
Jörn Zaefferer 6cb2e8ee8b Fixed second test for load() 2006-10-09 07:24:46 +00:00
Jörn Zaefferer fac6a87dcf Fixed test for load(url) 2006-10-08 14:34:13 +00:00
Jörn Zaefferer 7b2c84ddbe Removed (hopefully) all references to $ within the jQuery code itself 2006-10-06 17:15:33 +00:00
Jörn Zaefferer 29f3fd50f7 Added test for bug #232 2006-10-06 14:14:00 +00:00
Jörn Zaefferer eee853f120 removed the test for bug #164, the test suite is unable to handle the resulting error in IE correctly. I'll add it back later. 2006-10-03 10:55:09 +00:00
Jörn Zaefferer ad2a6bd916 Reset ajaxTimeout after running timeout tests 2006-10-02 16:58:33 +00:00
Jörn Zaefferer 785de349f5 Small fixes to tests 2006-10-02 16:45:35 +00:00
Jörn Zaefferer 7654d3b833 Fixed bug #215 2006-10-01 15:00:16 +00:00
Jörn Zaefferer 08d865862a Fixed bug #165 (ignoring the exception) and #156 (ifModified option added to $.ajax) 2006-10-01 14:32:29 +00:00
Jörn Zaefferer e94db76ada Added local timeout option for $.ajax + test 2006-10-01 14:15:56 +00:00
Jörn Zaefferer 7dd456176d Added tests for global and local ajax handlers, added global option to $.ajax to allow suppressing of global events 2006-10-01 14:05:10 +00:00
Jörn Zaefferer 10532fb3ae Added tests, fixed getScript and getJSON, fixed comment in $.ajax 2006-09-30 14:32:49 +00:00
Jörn Zaefferer 327bfb88a2 Modified test for bug #164 2006-09-23 08:34:50 +00:00
Jörn Zaefferer b0c3711d3e Refactored test suite to allow async tests (use stop() before starting an async request, use start() when finished), added test for bug #164 2006-09-19 09:49:22 +00:00
John Resig eb29e285f3 Added a couple new AJAX methods and finished documenting everything. 2006-09-08 10:18:46 +00:00
John Resig 484af2a45a About half done documenting the AJAX module. 2006-09-01 06:50:35 +00:00
John Resig d2529835be Added native support for JSON data. 2006-08-31 06:32:27 +00:00