In this script http://jsfiddle.net/c4dSX/6/ autocomplete city whorks well in firefox not in explorer...why???
Asked
Active
Viewed 217 times
1 Answers
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
-
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