Skip to content
Related Articles
Open in App
Not now

Related Articles

How to create a Week Input using jQuery Mobile ?

Improve Article
Save Article
  • Last Updated : 14 Dec, 2020
Improve Article
Save 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
Related Articles

Start Your Coding Journey Now!