"Permission denied to call method XMLHttpRequest.open" error

B

bleen

Here is my issue:
The js I use on the following page works great using jquery, jqmaps
and the google maps API to load up a map:

http://dev.c21hull.com/listings/map.htm?listing_id=GL-9027

Now, I want to load the map in a modal window via an AJAX call so I
use jqmodal. When you click "mapit" the modal window loads (I know the
close btn doesn't do anything yet) and the AJAX request is returned
nicely, but when the map tries to load within the content that was
just returned I get a "Permission denied to call method
XMLHttpRequest.open" error. Here is the example:

http://dev.c21hull.com/listings/browse.htm?byid=9027&bytype=all&bypri...

I understand that the error in question happens when you make requests
cross domain, but why does this code work in the first example but not
the second? After researching, it has been suggested I use a SS proxy;
how can I do that here? Please explain as much as possible - I'd like
to learn this and really understand it.

Thanks!!
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top