title: Trying to link a local Javascript file to HTML document but in the browser, I receive a Failed to load resource error
body: <p>I'm trying to link a javascript file to my html document. </p>
  
  <p>I'm following the instructions on <a href="http://dubrox.github.io/Multiple-Dates-Picker-for-jQuery-UI/#demo-days-range" rel="nofollow noreferrer">http://dubrox.github.io/Multiple-Dates-Picker-for-jQuery-UI/#demo-days-range</a> to select multiple dates from a calendar as input in a form. </p>
  
  <p>It says "You include both jQuery and jQuery UI (with datepicker module included!) javascript files to your HTML page, and right after that, include MultiDatesPicker".</p>
  
  <pre><code>&lt;script src="https://code.jquery.com/jquery.min.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"&gt;
  &lt;script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"&gt;&lt;/script&gt;
  &lt;script src="jquery-ui.multidatespicker.js"&lt;/script&gt;
  </code></pre>
  
  <p>Which I have done.</p>
  
  <p>Note jquery-ui.multidatespicker.js is in my local project directory as it's own file not in any folders. You can download a zip file on the github page where this file is included. </p>
  
  <p>Then I call the multidatespicker function in the head of the document. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          $(function() {
  
          $('#mdp-demo').multiDatesPicker();
  
   });
      &lt;/script&gt;
  </code></pre>
  
  <p>And finally within the body you write your html input id to be used in the function</p>
  
  <pre><code> &lt;input id="mdp-demo"&gt;
  </code></pre>
  
  <p>When I run this in the browser I get an error "Failed to load resource: the server responded with a status of 404 (NOT FOUND)" for jquery-ui.multidatespicker.js:1. </p>
  
  <p>If you scroll down to the demos on the multiple dates github page and go to "Form input". That is what i'm trying to achieve. The problem is that my jquery-ui.multidatespicker.js script search isn't finding the script and therefore doesn't recognize the .multiDatesPicker() function.</p>
  
  <p>Any suggestions as to what I'm doing wrong?</p>