Showing a tooltip on page load or other events

Components, Ajax Framework, Utilities and More.
Post Reply
Posts: 67
Joined: 20 Nov 2010, 19:20

12 Jan 2017, 02:27

can I show a tooltip on a button on page load, or managed via javascript or a remotecommand, so I can control the tooltips showing and hiding not by mouse hovering on the object itself?


User avatar
Posts: 337
Joined: 22 Apr 2013, 15:48

12 Jan 2017, 14:20

Look at this example... ... ions.xhtml

Then in CHrome press F12 to bring up the JavaScript console and type...

Code: Select all

You will see with JS you just opened the tooltip. Now type this to close it...

Code: Select all

PrimeFaces Extensions Developer
GitHub Profile:
PrimeFaces 6.1.X / PF Extensions 6.1.5

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 11 guests