Forum: Ruby on Rails Add anchors on remote links?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
328f0bb678423fcea01ebe3b0edc74e6?d=identicon&s=25 Ben Johnson (benjohnson)
on 2007-06-16 04: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.