Open In App
Related Articles

How to create a Time Input 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 creating a Time Input 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 Time Input area using jQuery Mobile. We use type=”time” attribute to set the time in input field.


<!DOCTYPE html>
    <link rel="stylesheet"
    <script src=
    <script src=
            Design a Time Input using jQuery Mobile
        <form style="width: 50%;">
            <label for="timeInput1">
                Time Input Area:
            <input type="time"
                   id="timeInput1" value="">
            <label for="timeInput2">
                Time Input Area with clear button:
            <input type="time"
                  id="timeInput1" value="">


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