The script that is making the ajax request has to be on the same domain where the ajax response is coming from. So just keep your script on your server and use a wrapper function from the other domain that calls your script residing on your domain.
On Tue, Sep 16, 2008 at 12:23 PM, Diodeus <[EMAIL PROTECTED]> wrote: > > Assuming you are attempting to make an Ajax call to a server that is > not in your web page's domain, it is a deliberate security restriction > in the browser designed to prevent cross-site scripting (XSS) attacks. > > On Sep 16, 1:34 pm, Rama <[EMAIL PROTECTED]> wrote: > > hi, > > > > i have developed a widget/badge in javasript. (using prototypejs) > > > > It is working well on my own site. but when placed on other > > domains AJAX(XHR) requests are not working porperly. > > > > Can anyone please guide us on why the ajax(XHR) calls/requests are > > not working when placed on other doman. > > > > Regards > > rama > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
