Skip to content
Related Articles
Open in App
Not now

Related Articles

jQuery UI Datepicker show() Method

Improve Article
Save Article
  • Last Updated : 21 Dec, 2021
Improve Article
Save Article

jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. jQuery UI is great for building UI interfaces for the webpages. jQuery UI Datepickers widget allows users to enter dates easily and visually.

In this article, we will use the jQuery UI Datepicker show() method to open the date picker widget. This method does not accept any parameter.



CDN Links: First, add jQuery UI scripts needed for your project.

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

Example: This example demonstrates the Query UI Datepicker show() method.


<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <link href=
    <script src=""></script>
    <!-- jQuery code -->
        $(function () {
            $("#btn").on('click', function () {
        <h1 style="color: green;">
        <h3>jQuery UI Datepicker show() Method</h3>
        <p>Enter Date: <input type="text" id="GFG"></p>
        <input type="button" id="btn" 
            style="padding: 5px 15px;" 
            value="Show the Widget">



My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!