Kai Schlamp wrote in post #976711: > Uuups, I just found out that HTML links behave the same way ... it > seems I am too pampered with Rails link helpers ;-)
Apparently so. If you don't understand relative URLs, you have no business doing Web development. > But I still wonder > what the easiest way would be to build correct URLs for Javascript > then. Use absolute URLs (the *_url helpers will produce these). Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

