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();
});
Mohammad Adil
  • 44,013
  • 17
  • 87
  • 109
hangee
  • 679
  • 2
  • 9
  • 11

0 Answers0