DATE-PICKER Form

Hi frnds, here I am going to represent a DataPicker form in JSP. html,JavaScript & jquery logic in JSP file.
Required Files:

 

  1. index.jsp

Example of DatePicker Form in JSP

In this example, we are using the HTML5,JavaScript and jquery.

  <html>
  <head>
  <title>DATEPICKER-java8s </title>
  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
  <link rel="stylesheet" href="/resources/demos/style.css">
  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  <script>
  $( function()
    {
       $("#datepicker").datepicker({ dateFormat: "dd-mm-yy" }).val()
    } );
  </script>
  </head>
  <body>
  <p>Date: <input type="text" id="datepicker"></p>
  </body>
  </html>
 

index.jsp


datepicker

Our Services:

Java Training | Python Training | Machine Learning with Python Training | Deep Learning with Python Training | Data Science with Python Training | Projects

SILAN Technology, BBSR
Call to: 9439202111  |  9658317757  |  0674-2361252

Comment