简体   繁体   中英

How to show tooltip on select option hover using tooltipster plugin?

I'm new to jQuery, how can I show tooltip on select option hover using tooltipster plugin?

As title attribute not working in IE 11 for selected above options ( a bug in IE ). I found that from tooltipster we can achieve this. But I don't know any thing about this plugin so can anyone please provide a snippet for this.

I think that options cannot be considered as visual HTML elements whose position and dimensions can be computed by Tooltipster. They are semantic elements handled natively by the browser, it's no wonder that you get different behaviors with a title in different browsers. You should use a library like select2 to create your option list and then apply Tooltipster on its items.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM