Using Autocomplete with data from different domain (JSONP?)

Using Autocomplete with data from different domain (JSONP?)


Hi all,
I was playing with the demo http://view.jquery.com/trunk/plugins/autocomplete/demo/json.html
and downloaded it to my laptop and am loading it via file://mydir/json.html,
and now get what I believe is a cross domain permission error under
FF3:
uncaught exception: Access to restricted URI denied
(NS_ERROR_DOM_BAD_URI)
[Break on this error] xhr.open(type, s.url, s.async);
Oddly enough it works just fine with Safari, which I think is because
Safari is more lenient? Has anyone actually been able to use the
autocomplete plugin with data pulled from a different URL then the
page was served up from? I want to display suggestions based on
results from another server.
Eric














    • Topic Participants

    • epugh