How can I display a tooltip message on hover using jQuery?

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');

Leave a Comment