Line 855: | Line 855: | ||
− | $('# | + | $('#tt').on({ |
− | + | "click": function() { | |
+ | $(this).tooltip({ items: "#tt", content: "Displaying on click"}); | ||
+ | $(this).tooltip("open"); | ||
+ | }, | ||
+ | "mouseout": function() { | ||
+ | $(this).tooltip("disable"); | ||
+ | } | ||
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</script> | </script> |
Revision as of 08:21, 31 October 2017