Skip to content
Related Articles

Related Articles

How to create a Menu popup using jQuery Mobile ?

View Discussion
Improve Article
Save Article
  • Last Updated : 14 Dec, 2020

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 creating menu popup button using jQuery Mobile.

Approach: Add jQuery Mobile scripts needed for your project.

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

<script src=””></script>

<script src=””></script>

Example: We will create a menu popup by adding a listview inside a popup.


<!DOCTYPE html>
    <link rel="stylesheet" href=
    <script src=
    <script src=
            Menu popup using jQuery Mobile
        <a href="#GFGMenu" data-rel="popup" 
            class="ui-btn ui-corner-all ui-shadow 
            ui-btn-inline ui-icon-gear 
            ui-btn-icon-left ui-btn-a"
            title="Click Here!">GeeksforGeeks Menu
        <div data-role="popup" id="GFGMenu" data-theme="b">
            <ul data-role="listview" data-inset="true" 
                <li data-role="list-divider">Choose an Option</li>
                <li><a href="#">Data Structure</a></li>
                <li><a href="#">Algorithm</a></li>
                <li><a href="#">HTML</a></li>
                <li><a href="#">CSS</a></li>
                <li><a href="#">JavaScript</a></li>


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!