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

Related Articles

How to create a Week Input using jQuery Mobile ?

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 creating a Week Input Area 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 week input area using jQuery Mobile. We use type=”week” attribute to add input type to week.


<!DOCTYPE html>
    <link rel="stylesheet" href=
    <script src=
            Design a Week Input using jQuery Mobile
        <form style="width: 50%;">
            <label for="weekInput1">Week Input Area:</label>
            <input type="week" data-clear-btn="false" 
                name="weekInput1" id="weekInput1" value="">
            <label for="weekInput2">
                Week Input Area with clear Text:
            <input type="week" data-clear-btn="true" 
                name="weekInput2" id="weekInput2" value="">


My Personal Notes arrow_drop_up
Last Updated : 14 Dec, 2020
Like Article
Save Article
Similar Reads
Related Tutorials