How to display a title attribute inside an element of option tag with select?

Example:

http://jsfiddle.net/kv43mbwf/1/

Thank you!

You can’t, not cross-browser. It occasionally worked (and may still work) on some browsers, not on others. It doesn’t seem a logical thing to do, so this is not surprising (the title of an option is the text in the option). Also, how could it possibly work on mobile?

1 Like

I have no idea on why you would ever want to do this as Dan said., it’s completely illogical.

Nevertheless,. boredom got the best of me.
http://jsfiddle.net/3cxa4orn/6/

2 Likes