JS
jQuery UI

Jquery Tooltip Example Code With Demo Using Jquery UI

Jquery UI is a lots of collection of GUI widgets like datepicker, tab, timepicker, colorpicker etc. Jquery UI also provide tooltip GUI widget that way we can set text and display when hover on specific element.

  • 4.5/5.0
  • Last updated 08 September, 2022
  • By Admin

Jquery UI tooltip through we can set information about element like if we set delete button but when user will mouseover then display text like "You can remove from here". So in this simple html example through you understand how to set tooltip using jquery ui.

Example:
<html lang="en">
<head>
    <title>Jquery ui tooltip example - codewale.com</title>
    <link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
</head>
<body>
<div class="container">
  <button title="Jquery UI Tooltip Example">See Toltip</button>
  <script type="text/javascript">
      $( function() {
        $( document ).tooltip();
      } );
  </script>
</div>
</body>
</html>

I hope it can help you...