Skip to content
Related Articles
Open in App
Not now

Related Articles

jQuery Mobile Toolbar disable() Method

Improve Article
Save Article
  • Last Updated : 12 Jan, 2022
Improve Article
Save Article

jQuery Mobile is a set of HTML5 based user system interaction widget toolbox used for various purposes build on top of jQuery. It is designed to build fast and responsive sites accessible to mobile, tabs, and desktops. In this article, we will use the jQuery Mobile Toolbar disable() method to disable the displayed toolbar.



Parameters: This method does not accept any arguments.

Return type: This method returns an object.


CDN Links: To use jQuery Mobile, we first have to add it to the project.

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

Example: This example describes the jQuery Mobile Toolbar disable() method.


<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content=
    <meta name="viewport" 
          content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href=
    <script src=
    <script src=
    <div data-role="page">
            <h1 style="color:green;">
            <h3>jQuery Mobile Toolbar disable() method</h3>
            <div id="headerID" data-role="header">
                <h1>This is a header toolbar</h1>
            <input type="button" id="Button" 
                value="Disable toolbar">
            <div id="log"></div>
        $(document).ready(function () {
            $("#Button").on('click', function () {
                $("#log").html("Toolbar disabled!");


jQuery Mobile Toolbar disable() Method


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!