Uncaught TypeError: $(...).datepicker is not a function

Uncaught TypeError: $(...).datepicker is not a function

hi
here is my code. I want to choose a date and the other will automatically give me 2months later date. its shows me this error "Uncaught TypeError: $(...).datepicker is not a function"
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Date Choose Option</title>
  5. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

  6. </head>
  7. <body>
  8. <input type="text" class="firstcal">
  9. <input type="text" class="secondcal">
  10. <script>
  11. $(function() {
  12.     $(".firstcal").datepicker({
  13.         dateFormat: "mm/dd/yy",
  14.         onSelect: function(dateText, instance) {
  15.             date = $.datepicker.parseDate(instance.settings.dateFormat, dateText, instance.settings);
  16.             date.setMonth(date.getMonth() + 2);
  17.             $(".secondcal").datepicker("setDate", date);
  18.         }
  19.     });
  20.     $(".secondcal").datepicker({
  21.         dateFormat: "mm/dd/yy"
  22.     });
  23. });
  24. </script>

  25. </body>
  26. </html>
please help me.
thank you