Skip to content
Related Articles

Related Articles

jQuery Mobile Selectmenu disable() Method

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 20 Dec, 2021

jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops. 

In this article, we will be using the jQuery Mobile Selectmenu disable() method to disable the menu items.



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

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

Example: This example describes the uses of the jQuery Mobile Selectmenu disable() method.


<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <meta name="viewport" content=
        "width=device-width, initial-scale=1">
    <link rel="stylesheet" href=
    <script src="//">
    <script src=
        $(document).ready(function () {
    <div data-role="page" id="page1">
        <div data-role="header">
            <h2 style="color:green">GeeksforGeeks</h2>
            <h3>jQuery Mobile Selectmenu disable() Method</h3>
            <div role="main" class="ui-content" style="width:50%;">
                <label for="select-choice-0" class="select">
                <select name="subjects" id="subjects">
                    <option value="standard">Java</option>
                    <option value="rush">PHP</option>
                    <option value="express">HTML</option>



My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!