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

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -