Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

jQuery UI Buttonset enable() Method

  • Last Updated : 07 Jan, 2022

jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. jQuery UI is great for building UI interfaces for the webpages. The jQuery UI buttonset widget is used to give a visual grouping for a group of related buttons.

The jQuery UI buttonset enable() method is used for enabling the buttonset widget.


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

Parameters: This method does not accept any parameter.

Return values: This method does not return any values.

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

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

Example: This example demonstrates the jQuery UI buttonset enable() Method.


<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <link rel="stylesheet" href=
    <script src=
    <script src=
        <h1 style="color:green;">
        <h3>jQuery UI Buttonset enable() method</h3>
                <div id="ButtonSet_Radio">
                    <input id="Company" type="radio" 
                    <label for="Company">GeeksforGeeks</label>
                    <input id="Department" type="radio">
                    <label for="Department">Computer Science</label>
        <input type="button" id="Button_for_enable" 
               style="padding:5px 15px; margin-top:40px;"
               value="Enable the Widget">
        $(document).ready(function () {
                disabled: true
            $("#ButtonSet_Radio").buttonset("option", "disabled", true);
            $("#Button_for_enable").on('click', function () {


jQuery UI Buttonset enable() Method


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!