Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

jQuery Mobile Popup disable() Method

  • Last Updated : 22 Dec, 2021

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 learn about the Mobile Popup disable() method. A popup is used to show some data when a link has been clicked. The disable() method is used to disable the popup when a link is clicked.



Parameters: This method does not accept any parameters.


CDN Links: 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 jQuery Mobile Popup disable() method.


<!doctype html>
<html lang="en">
    <link rel="stylesheet" href=
    <script src=
    <script src=
        $(document).ready(function () {
            $( "#GFG" ).popup( "disable" );
    <div data-role="page" id="page1">
        <div data-role="header">
            <h3>jQuery Mobile Popup  disable() method</h3>
            <div role="main" class="ui-content">
                <a href="#GFG" data-rel="popup">
                <div data-role="popup" id="GFG">
                        A Computer Science portal for geeks.



My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!