Bug Tracker

Opened 12 years ago

Closed 12 years ago

#8639 closed bug (invalid)

1.5.1 can not work in IE8/9 for Jsonp call.

Reported by: [email protected] Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:


Below is the code, and the $.Ajax() method doesn't work in IE8/9, Opera11, can work in FF4,Chrome and Safari.

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>


<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.js"></script>

<script type="text/javascript">

$(document).ready(function () {


url: 'http://www.geonames.org/postalCodeLookupJSON?postalcode=10504&country=US&callback=?', success: function (data) {






</head> <body> <input type="button" value="Click" /> <div id="test"></div> </body> </html>

Change History (1)

comment:1 Changed 12 years ago by jaubourg

Resolution: invalid
Status: newclosed

You have to specify the dataType as "json" or "jsonp".

Note: See TracTickets for help on using tickets.