title: jquery how to call function from external .js file
body: <p>I'm trying to figure out the jQuery code syntax for calling a function in a separate .js file still referenced with a script href tag in my head tags.  So here is essentially what I have.</p>
  
  <pre><code>  &lt;head&gt;
      &lt;script type="text/javascript" src="/Publish/Depts/EWI/scripts/prehomefunctions.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="/Publish/Depts/EWI/scripts/feedFunctions.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
  
    //Inside feedFunctions.js
    if(condition){functionName1()};
  
    //Inside prehomefunctions.js
    function functionName1(){
      ///DO SOMETHING
    };
  </code></pre>
  
  <p>at this point whenever I try to execute this my feedFunctions.js file throws an error saying that "functionName1" is not a function because the file cannot find this function within itself, but I'm trying to make it point to prehomefunctions.js to find this function.</p>
  
  <p>any help would be much appreciated. </p>