This website requires JavaScript.
Explore
Help
Register
Sign In
github
/
jquery
Watch
1
Star
1
Fork
0
You've already forked jquery
mirror of
https://github.com/jquery/jquery.git
synced
2026-04-20 03:01:22 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
5da2e98cb39f30e940962fe0bf2d23356d9f90a8
jquery
/
test
/
unit
/
ajax.js
David Serduke
0635df4391
Fixed
#2174
by removing the s.dataType == "json" check for possible cross domain since it causes absolute urls to use a <script> tag ajax retrieval even though absolute urls work fine for retrieving local data. Cross-domain jsonp will still work since the $.ajax() function actually changes the s.dataType to "script" before it reaches this check in cases where it is s.dataType == "jsonp" or s.dataType == "json" and a parameter has =? in it.
2008-01-17 21:38:58 +00:00
20 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink