0

In this script http://jsfiddle.net/c4dSX/6/ autocomplete city whorks well in firefox not in explorer...why???

Alberto Alibaba
  • 305
  • 3
  • 17

1 Answers1

0

Your error is with trying to do a cross domain call from IE and it can't locate a transport. Make use of the error property in the Ajax call

error(jqXHR, textStatus, errorThrown)

Reading a couple posts it seems that JSONP is your best bet. I have been trying to get it working in your example but maybe the service does not offer JSONP but I have not investigated the service much.

Have a look at these posts about the issue jQuery Call to WebService returns “No Transport” error 'No Transport' Error w/ jQuery ajax call in IE

Community
  • 1
  • 1
Mike B
  • 1,166
  • 11
  • 11
  • the service offer only JSON and xml – Alberto Alibaba Aug 25 '12 at 23:02
  • Have you tried looking at the solution in this answer. http://stackoverflow.com/a/11517652/560237 I have not had much experience with cross domain errors. I guess another alternative is creating an end point in your application which your application calls to and that makes the call. – Mike B Aug 26 '12 at 06:51
  • yes the problem is json crossdomain block i ask for jsonp at service – Alberto Alibaba Aug 27 '12 at 15:07