Here’s sort of what I am trying to do if it’s possible:
We have a server that uses TCL and can’t do any ajax.
What I did was wrote a simple Rails app that uses form_remote_tag to
get some text on a post and then
displays back some text into a div via ajax and a partial render.
Rails template creates by just sourcing the page and copying all of it
and then pasting it into the page generated by the TCL server. Then
changing it slightly so that the form submits to the Rails server and
the Rails server renders the ajax back.
Is there a way in form_remote_tag to specify a host ? I played around
with some url_for but couldn’t get it to work and was unable to find
any such thing doing google searches
I wasn’t sure if this would work at all, but it seemed like initially
I did have something working, but later when I tried it again it
didn’t work so I am confused a bit
I include all the default rails java script files and I change my form
by adding the rails-server part to look like this but it doesn’t work: