google chrome - How to add a tooltip to a <option> in a <select> box in HTML? -


in firefox stable (v38) , earlier versions of chrome, have used "title" html attribute on nodes user can hover on given option , view tooltip or "hover text". here's example of referring to:

<select>     <option title="hover text!">thing 1</option>     <option title="hover text!">thing 5</option>     <option title="hover text!">thing 3</option>     <option title="hover text!">thing 2</option>     <option title="hover text!">thing 42</option> </select> 

here jsfiddle of above code: http://jsfiddle.net/lsabota/bt3x780j/20/

this seems work firefox stable (v38), doesn't work latest stable version of chrome , doesn't seem work firefox aurora. expect user able hover on of options , see title text (which works in older version of chrome , latest version of firefox). had thought title html attribute proper way - there way accomplish this? title attribute getting deprecated nodes?

i opened bug on mozilla bugzilla , has been resolved in firefox. "title" valid attribute option , respected among major browsers


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -