Skip to main content

ToolToopText on focusevent

1 reply [Last post]
chandan.rattan
Offline
Joined: 2013-04-09
Points: 0

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.
tungls1
Offline
Joined: 2012-04-19
Points: 0

yep, you may try to overide onFocus event.

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