The work you're talking about is CORS[1], from the W3C. It's implemented in Firefox 3.5[2] and Safari 4[3].
[1] http://www.w3.org/TR/access-control/ [2] https://developer.mozilla.org/En/HTTP_access_control [3] http://developer.apple.com/safari/library/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Articles/XHR.html FWIW, -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Aug 28, 1:03 pm, david <[email protected]> wrote: > Hi emooney, > > You're exemple were launch from your computer locally, not from an > external website. > I try your exemple and it works in IE6 & FF3.5 > > But in real website, that shouldn't work for both and all other > browser, because AJAX should be submitted to the same domain/subdomain > as the document domain/subdomain. There is some work to specify this > need, but I don't know if browser implement it at all. > I remember that I saw a prototype extension (think it was for 1.5) > that implement cross domain request, but I did not know if it is > ported to prototype 1.6. > > Go and have a look athttp://scipteka.comto see if any exist, or try > googling. > > -- > david > > On 27 août, 20:20, emooney <[email protected]> wrote: > > > > > I'm working on a RSS News Feed app and I want to be able to update my > > news feeds through the Prototype.Request object. Bringing them in > > using JSON seems like a perfect solution because I can access the data > > as a javascript object. But I'm having trouble just bringing the data > > in. > > > I'm reading that this isn't a limitation with Prototype, but a > > security 'feature' at the browser level. The strange this though is I > > can get it to work in IE6 and IE7, but not FF 3.5.2 and Chrome xxx. > > > Here is a link to my findings. Includes an image of what I'm bringing > > back in IE as well as the code that created > > this.https://sites.google.com/site/ericstestsite1/ > > > If someone could help me understand what's happening that would be > > great. > > > Thanks, > > Eric --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
