Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

jQuery UI Tooltips enable() Method

  • Last Updated : 05 Feb, 2021

jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. jQueryUI tooltip widget helps us to adds new themes and allows for customization. In this article, we will see how to use enable option in jQuery UI tooltips. The enable option is used to enable the tooltips in jQuery UI.



Parameters: This method does not accept any parameters

CDN Link: First, add jQuery UI scripts needed for your project.

<link href = “” rel = “stylesheet”>
<script src = “”></script>
<script src = “”></script>

Example: The following example demonstrates the enable option for the tooltip. The track option is set to true which is enabled. Refer the output for a better understanding.


<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8" />
    <script src=
    <script src=
    <h1 style="color: green">GeeksforGeeks</h1>
    <h3>jQuery UI | Tooltip enable method</h3>
      $(function () {
          track: true,
        $("#gfg").click(function () {
    <input id="gfg" type="submit" name="GeeksforGeeks" value="click!" />
    <button id="gfgtt" title="GeeksforGeeks">Click here!</button>



My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!