title: TypeError: Cannot read property 'setDefaults' in jQuery datepicker function
body: <p>I implemented the code below into my html but looks like it is conflicting with something. On it own it works perfectly well but when I applied it to my html page my datepicker doesn't work properly: basically when I click on it, it doesn't give me the drop down menu to choose from. 
  Here is the code that I applied in my html page. </p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8" /&gt;
    &lt;title&gt;jQuery UI Datepicker - Default functionality&lt;/title&gt;
    &lt;link rel="stylesheet" 
    href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-   ui.css" /&gt;
    &lt;script src="http://code.jquery.com/jquery-1.9.1.js"&gt;&lt;/script&gt;
    &lt;script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
   &lt;div&gt;
    &lt;form action="jquery.php" method="post"&gt;
      Date:&lt;input type="text" id="datepicker" name="datepicker" /&gt;
    &lt;/form&gt;
   &lt;/div&gt;
   &lt;script&gt;
      $(function() {
      $.datepicker.setDefaults( $.datepicker.regional[ "" ] );
      $( "#datepicker" ).datepicker({
           onSelect: function (dateText, inst) {
      $(this).parent('form').submit();
        }
     });
    });
   &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I have tried placing the jQuery library  before the plug in >, that did nothing.
  Here is the link to my html page on github. 
  <a href="https://alohavolha.github.io/selene-hotel/" rel="nofollow">https://alohavolha.github.io/selene-hotel/</a></p>