0

I wonder what did I do wrong, my calendar date picker only works when I implement the JavaScript code inside my html page like this

<script>
  $(function() {
    $( ".datepick" ).datepicker();
  });
</script>

But not working when I put the code externally.

$(document).ready(function() {
    $( ".datepick" ).datepicker();
});
Adil Shaikh
  • 44,509
  • 17
  • 89
  • 111
hangee
  • 719
  • 2
  • 9
  • 12

0 Answers0