title: HTML button onclick calling javascript file not functioning
body: <p>I imported the javascript file in the head like this :</p>
  
  <pre><code>&lt;script type="text/javascript" src="js/ISO_TR_230-9.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>That file contains a function <em>calc1</em> which is set up like this :</p>
  
  <pre><code>function calc1() {}
  </code></pre>
  
  <p>I am calling <em>calc1</em> from a button that is set up like this :</p>
  
  <pre><code>&lt;button type="button" onclick="calc1()"&gt;Calculate&lt;/button&gt;
  </code></pre>
  
  <p>Upon clicking the button I receive the error <em>calc1 is not defined</em>. Is there anything that could be happening where this occurs?</p>