Just an FYI, I had to do this to make it work with JSONP:

$("#email").autocomplete('http://localhost:8983/solr/db/select/?
wt=json&fq=type:Institution&json.wrf=?', {
                multiple: false,
                delay: 400,
                dataType: "jsonp",
                cacheLength: 1,
                mustMatch: true,

I am going to try and write a blog about this when I get it fully
fleshed out.

Eric




On Mar 27, 9:16 am, Eric Pugh <[email protected]> wrote:
> Hi all,
>
> I was playing with the 
> demohttp://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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to