javascript - How to set for erb? -
javascript - How to set <a title=""> for erb? -
i'm trying erb link display text when mouse hovered on it. <a title="hover">text</a>
works on normal text, can't work on link. here's tried, nothing:
<a title="hover"> <%= link_to "all", "all/allthings" %> </a>
am going have resort using javascript?
try this:
<%= link_to "all", "all/allthings", title: 'hover' %>
more info on: link_to
javascript html ruby-on-rails ruby hover
Comments
Post a Comment