Open In App
Related Articles

How to create Basic flip toggle switch using jQuery Mobile ?

Improve Article
Save Article
Like Article

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 making a basic flip toggle switch using jQuery Mobile.

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

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

Example 1:


<!DOCTYPE html>
    <link rel="stylesheet"
    <script src=
    <script src=
            basic Flip toggle switch
            using jQuery Mobile
        <label for="geeks-1">
            Flip toggle switch
        <select name="geeks-1"
            <option value="off">Off</option>
            <option value="on">On</option>


Last Updated : 12 Jul, 2023
Like Article
Save Article
Similar Reads
Related Tutorials