title: External javascript not working - local file
body: <p>I am using a local HTML file with link to an external script (located in the same directory) that worked when in the file, but externally doesn't.  Neither Firefox nor Chrome.  Code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="docket.js"&gt; &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onload="doFunction()"&gt; ...
  </code></pre>
  
  <p>The script is in a .js file, which has (simplified):</p>
  
  <pre><code>function doFunction() ....
  </code></pre>