The above ajax call is not working for me. whenever i make a call to the
same server using this command i am able to get the response, but when i
try to make a similar call to a different uri located on a different
computer or different port it is not working…Am I missing something
.Can anybody help ?
I don't have the time, but
<%= link_to_remote( "click here",
:update => "time_div",
:url
=>'http://localhost:3000/posts',:method=>"get") %>
and I will look it up.
The call works but when i change the url to something else like http://localhost:3000/posts then its is not working ???
sorry the second url above was http;//localhost:3001/posts that meant
now i am requesting to another server application may be on a different
machine…Why am I not getting the response
sorry the second url above was http;//localhost:3001/posts that meant
now i am requesting to another server application may be on a different
machine…Why am I not getting the response
That’s a security feature in the web browser. Google “cross domain ajax”
for details and workarounds.
sorry the second url above was http;//localhost:3001/posts that meant
now i am requesting to another server application may be on a different
machine…Why am I not getting the response
That’s a security feature in the web browser. Google “cross domain ajax”
for details and workarounds.
Thank You very much it helped me understand more…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.