title: How to use datepicker in CodeIgniter?
body: <p>why is it when i tried clicking the calendar icon for the <strong>datepicker</strong>, it wont pop up the calendar. I'm using this one <strong><a href="http://eternicode.github.io/bootstrap-datepicker/" rel="nofollow noreferrer">bootstrap-datepicker</a></strong>. Here's the code:</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="form-group"&gt;
     &lt;label for="dob"&gt;Date of Birth&lt;/label&gt;
        &lt;div class="input-group date"&gt;
           &lt;input type="text" class="form-control"&gt;
               &lt;div class="input-group-addon"&gt;
                   &lt;span class="glyphicon glyphicon-th"&gt;&lt;/span&gt;
                &lt;/div&gt;
        &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>JS</strong></p>
  
  <p><a href="https://i.stack.imgur.com/F65ix.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F65ix.png" alt="enter image description here"></a></p>