tags:

views:

1801

answers:

5

please, guide me with sample code for,

displaying tooltip message on hover using jquery.

A: 

Why don't you look for a tooltip plugin on the jquery site?

mck89
+5  A: 

take a look at the jQuery Tooltip plugin. You can pass in an options object for different options.

There are also other alternative tooltip plugins available, of which a few are

Take look at the demos and documentation and please update your question if you have specific questions about how to use them in your code.

Russ Cam
+1  A: 

Examples of use of one such jQuery Tooltip plugin.

ayaz
+1  A: 

Tooltip plugin might be too heavyweight for what you need. Simply set the 'title' attribute with the text you desire to show in your tooltip.

$("#yourElement").attr('title', 'This is the hover-over text');
psychotik
+5  A: 

I suggest qTip.

legenden