title: jQuery's .getScript()... what am I doing wrong?
body: <p>I'm programming an iPhone app with Phonegap. I have local <code>.html</code> and <code>.js</code> files.  The following is in my <code>index.html</code> file:</p>
  
  <pre><code>function onBodyLoad() {
       document.addEventListener("deviceready", deviceReady, false);
  }
  
  function deviceReady() {
       $.getScript("js/order.js");
  }
  </code></pre>
  
  <p>I researched and researched, but just can't figure out why my "order.js" file isn't getting called by the <code>$.getScript</code> method.  Any ideas?  Or is there any other way to call this <code>.js</code> file within the deviceReady function in my <code>index.html</code>?</p>