title: How to call Javascript function from another JS file
body: <p>Yes, I have both functions included in html. I know the ordering matters. What I'm confused about is the way that the JS functions are set up, and I don't know the right way to call the function I want.</p>
  
  <p>For example, I have a <code>Items.js</code>, in which I show some things on the screen, but I want to hide all of those items when the user activates something in a <code>Phone.js</code></p>
  
  <p>How <code>Items.js</code> is set up:</p>
  
  <pre><code>Items = function()
  {
      this.stop = function()
      {
         // Items are hidden
         $(this.ButtonDiv).hide();
         $(this.CounterDiv).hide();
      }
  }
  </code></pre>
  
  <p>Now how do I call the stop function from <code>Phone.js</code>?</p>