I'm trying to use a jQuery Tooltip in a JSF application where I use Primefaces (so, jQuery is automatically loaded by Primefaces), but I get the following error:
Uncaught TypeError: $(...).tooltip is not a function
I use the tooltip function in this way:
<script type="text/javascript">
// DOM Ready
$(function() {
//jQuery Tooltip
$( document ).tooltip();
});
</script>
UPDATE
If I "manual" include jquery-ui it works:
<h:outputScript name="scripts/jquery/jquery-ui.min.js"/>
PF 6.0 (with jQuery v1.11.3) WildFly 10