Skip to content
Related Articles

Related Articles

Improve Article

jQuery UI Slider enable() Method

  • Last Updated : 29 Jan, 2021
Geek Week

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 provides us a slider control through slider widget. Slider helps us to get a certain value using a given range. In this article we will see how to enable a jQuery UI slider.
The enable() method is used to enable the current slider.


$( ".selector" ).slider("enable");

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

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



<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <link href=
    <script src=
    <script src=
        $(function() {
    <h2>jQuery UI | slider enable method</h2>
    <div id="gfg"></div>


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :