Skip to main content

ToolToopText on focusevent

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2013-04-09

hi guyz...I m beginner in java. Is it possible to show tooltip on focus event? i mean when cursor is on field tooltip should display automatically .....not on mouse event. If possible, then plz plz can tell me code with simple example?

It would be great help for me.

Thank in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2012-04-19

yep, you may try to overide onFocus event.

    yourElement.onfocus = function() {
     //code to display tooltip