How to implement tooltip into select2-results class?
So in the select2-drop widget, where it displays all options in the dropdown, I want it to display a tooltip description for each option that I hover over.
Here's what I've done so far within the inlinejs property under a widget name using the suggestManyDirectory type, and it doesn't work. I have inserted this code inside the foldable box widget, within a bold containerLabel inside the inlinejs property.
jQuery(document).ready(function() {
jQuery('ul.select2-results').tooltip();
});
And Firefox firebug gives me an error:
TypeError: jQuery(...)tooltip is not a function
How can I fix this?
0 votes
1 answers
8014 views