lundi 23 février 2015

Assign title to checkbox in Rails

I am struggling with what I thought was a simple issue. I want to give a checkbox a title, alt or similar so that when I hover over the checkbox I will be given some specific information.


Here is a jsfiddle example for text or a code example below (both in HTML).



<span title="I am hovering over the text">This is the text I want to have a mousover</span>


I am looking for a Ruby on Rails solution, if there is one. Thanks.





Aucun commentaire:

Enregistrer un commentaire