Hi, I need to write a little JS file (to place in not rails web site)
in which I need to make an ajax call
like this http_request.open('GET', url, true); where URL is a rails
url of my web site (http://my-site.com:3000/controller/action/par1/
par2) and return a string in the web site that start the request and
put in a dedicated DIV.
The JS should be added to any web-site.
Yo can't write an ajax request for a different website.
For example, if you are on www.example.com you can't make a request to
www.google.com.
There are other solutions if this is the problem