Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to show calendar in javascript

<!DOCTYPE html>
<html>
  <head>
    <!-- <link> doesn't need a closing tag -->
    <link href="CSS/Master.css" rel="stylesheet" type="text/css">
    <!-- include the jQuery UI style sheet -->
    <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
    <!-- include jQuery -->
    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <!-- include jQuery UI -->
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  </head>
  <body>
    <div id="Datepicker1"></div>

    <script type="text/javascript">
      $(function() {
        $("#Datepicker1").datepicker({
         numberOfMonths: 1
        }); 
      });
    </script>
    
  </body>
</html>
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #calendar #javascript
ADD COMMENT
Topic
Name
7+9 =