title: Loading scripts using jQuery
body: <pre><code>$.ajax({ url: "plugin.js", dataType: 'script', cache: true, success: function() {
      alert('loaded');
  }});
  </code></pre>
  
  <p>1) I can't get the script to load, probably due to incorrect path, but how do I determine the correct path? The above code is in init.js, plugin.js is also in the same folder.</p>
  
  <p>2) Can I load multiple plugins at once with the same request? eg. plugin.js, anotherplugin.js?</p>
  
  <pre><code>root
  |
  |_ html &gt; page.html
  |
  |_ static &gt; js &gt; init.js, plugin.js
  </code></pre>
  
  <p>Thanks for your help</p>