title: Unable to load external javascript file - Codeigniter
body: <p>I am using CodeIgniter. I am trying to load an external javascript file.The <code>.js</code> file is placed in the views folder itself.</p>
  
  <p>I use the following code for loading the js file in the view file</p>
  
  <pre><code>&lt;script src="/countdown.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But it does not load the js file.
  The same code works if i simply put it in the view file.
  Can someone point out what i am missing here.</p>