I'm using PrimeFaces 5.3 with PrimeFaces Extensions 3.1.0.
I'd like to offer a button to the users that they can use to switch off/on all available Primefaces tooltips. If I know the id I can use
Code: Select all
PF('myid').show()
Code: Select all
<p:commandButton value="Toggle" onclick="$('.ui-tooltip.content").show()" />
Code: Select all
<p:commandButton value="Toggle" onclick="$('.ui-tooltip.content").attr('display','block'>" />
Any hints, on how to solve this?
Best regards,
Andreas