Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

jQuery Mobile Selectmenu Widget dividerTheme Option

Improve Article
Save Article
Like Article
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 using jQuery Mobile Selectmenu Widget dividerTheme Option to set the color scheme for the listview dividers that represent the optgroup headers. It accepts a single character from a-z that maps to the swatches included in your theme. It accepts string type value and its default value is null, inherited from the parent.


$( ".selector" ).selectmenu({
    dividerTheme: string

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

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




<!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>
    <script src=
        $(document).ready(function () {
                dividerTheme: "a"
    <div data-role="page" id="page1">
            <div data-role="header">
                <h3>jQuery Mobile Selectmenu Widget dividerTheme Option</h3>
        <div role="main" class="ui-content">
            <label for="GFG" class="select">
                GeeksforGeeks Courses:
            <select name="GFG" id="GFG">
                <optgroup label="Programming Languages">
                    <option value="C">C Programming</option>
                    <option value="CPP">C++ Programming</option>
                    <option value="JAVA">Java Programming</option>
                    <option value="overnight">Python Programming</option>
                <optgroup label="Web Development">
                    <option value="HTML">HTML</option>
                    <option value="CSS">CSS</option>
                    <option value="JS">JavaScript</option>



My Personal Notes arrow_drop_up
Last Updated : 30 Jun, 2021
Like Article
Save Article
Similar Reads
Related Tutorials