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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -