link_to_remote

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

Bishal Acharya wrote:

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.

Jeremy Weiskotten wrote:

Bishal Acharya wrote:

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..

Thanx very much your single suggestion saved lot of time for me. The problem is solved.