How to load external XML doc with javascript from rails app?

I believe when I call xmlDoc.load(url) from within a rails app, it makes
a request to mydomain/url. How do I make a request to the absolute url?

Thanks.

Ken Le wrote:

I believe when I call xmlDoc.load(url) from within a rails app, it makes
a request to mydomain/url. How do I make a request to the absolute url?

Thanks.

Nevermind, I forgot about javascript and prevention of cross-site
scripting. I believe that is why this will not work, correct me if i’m
wrong.