❮ Previous Next ❯

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

❮ Previous Next ❯

Follow Us




  Tutorials

Popular Links

Contact Us

address Plot No-741,2ND Floor
Opp. Bhagabati Temple,Jayadev Vihar
      Bhubaneswar-751013
      Email: info@silantechnology.com
      Phone: 0674-2361252
address
39877, sundale dr, apt#101, Fremont, California 94538, USA
       Phone: +1(262)388-7619

facebook twitter google linked in

© 2018 Silan Technology. All Rights Reserved