Commit graph

121 commits

Author SHA1 Message Date
John Resig b721a2f472 Added a fix for bug #2020 - if you want to do data: {callback: "?"}, do jsonp: "callback" instead. 2007-12-17 00:44:00 +00:00
David Serduke feb9051c0e Fixed #1781 for warnings created on load by FF javascript.options.strict == true. 2007-12-16 01:03:50 +00:00
David Serduke 4e339ef557 Added feature #1934 by allowing script.charset to be set through an optional 'scriptCharset' ajax option. 2007-12-15 23:30:34 +00:00
David Serduke 06c2f06a21 Fixed #2046 by forcing the dataType to 'html' in the .load() function. 2007-12-14 17:06:41 +00:00
John Resig 56a93fc2cc Added an extra try block to handle FF 3 x-domain requests. (Bug #1557) 2007-12-14 02:04:00 +00:00
David Serduke e1af5faf80 Fixed #1750 by adding a url that starts with "//" and is a dataType "script" will now use a cross domain load the same as urls that start with "http". 2007-12-12 20:54:44 +00:00
David Serduke c6a44c7943 Fix #1987 by only doing remote <script> type ajax with GET requests. All other types will be passed on to XMLHttpRequest. 2007-12-11 20:16:19 +00:00
David Serduke 8b74ba07aa For fix #1999 changed the RegExp to be non-greedy. Thanks emartin24. 2007-12-04 07:36:03 +00:00
David Serduke aee221d33c Fixed #1999 by replacing the 'no-cache' parameter if it is there instead of just appending. 2007-12-04 04:43:45 +00:00
David Serduke aca1cc3677 Removed comments and code related to Safari being unable to do a sync global eval. With the new globalEval() code that should no longer be a problem. 2007-11-30 02:42:48 +00:00
David Serduke 4b8f6cdc86 Fixed #1557, although it doesn't appear to be just an FF3 problem. In this 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. 2007-11-29 19:07:20 +00:00
David Serduke 7ac564cd98 Fixed #1450 by returning 1223 as success. Couldn't normalize the status since jquery uses the actual xmlhttprequest object. 2007-11-29 17:12:08 +00:00
David Serduke 6853370fbb Fix #1905 bug where in IE the use of RegExp.test() was failing and needed to be replaced with String.match(). 2007-11-16 23:54:45 +00:00
John Resig 80a26a3266 Fix for bug #1638, where a non-string data could break an Ajax request. 2007-10-18 00:07:45 +00:00
John Resig 9ac9aaeec3 Another fix for bug #1584, ajaxStop would not be called for a cross-domain request if a handler was not provided. 2007-10-17 23:13:31 +00:00
John Resig 62d84e44ac Added a fix for bug #1580, where the query string was appended to the POST data, instead of being left alone. 2007-09-15 01:18:30 +00:00
John Resig d9a3b133f1 Bug #1584, ajaxStop/complete calls weren't called for JSONP requests. 2007-09-15 00:35:16 +00:00
John Resig 6d71a10ed2 Fix for bug #1600 - multiple selects were being serialized incorrectly. 2007-09-15 00:23:21 +00:00
John Resig b4bf244c0e Fixed some line ending issues. 2007-09-09 18:29:15 +00:00
John Resig 4e504d86b9 Errors were occuring with getScript, if you called it too early. 2007-09-09 18:09:27 +00:00
John Resig b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
Renamed from src/ajax/ajax.js (Browse further)