Depending on what you're fetching, you can also dynamically add another javascript tag pointing to another URL:
$("someDiv").insert(new Element("script", { type:'text/javascript', src:'http://www.yourDomain.com/test.js' })) There will be no opportunity to sanitize what the response will be and it will execute upon load, so be careful. On Apr 15, 8:41 am, pierreva <[EMAIL PROTECTED]> wrote: > I would like from a site myDomain.com request data from another site > anotherDomain.com through Ajax.Request. If possible could you point me > with an example. > Thanks for your help. > > Pierre --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---