[Solved] Date Picker noob [closed]


1: include JQuery and JQuery UI libs in your page’s header (between the HEAD and /HEAD tags):

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js" type="text/javascript"></script>       
  1. Add this code to your page after the BODY tag (copied from JQuery’s website):

    <script>
      $(function() {
        $( "#datepicker" ).datepicker();
      });
    </script>
    
    <div class="demo"><p>Date: <input type="text" id="datepicker"></p></div>
    

Now when you click the input field, a datepicker should appear.

0

solved Date Picker noob [closed]