Forum: Ruby on Rails Add anchors on remote links?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ben J. (Guest)
on 2007-06-16 06:46
Is it possible to add an anchor (#whatever) to the end of the url when a
remote link is clicked?

If I do <%= link_to_remote "Link", :url => {:controller =>
"silly_controller"} %>, it does nothing to the url. I would like for it
to add #silly to the end of the url.

Any idea how to do this?

Thanks for your help.
This topic is locked and can not be replied to.