title: bootstrap datepicker not hiding
body: <p>I am using bootstrap datepicker.js but after select the date the datepicker not hide.if i click in any other place it will hide?
  what is the solution of this problem?
  I have also tried this</p>
  
  <pre><code>$(".datepicker").on('changeDate', function(){
     $(".datepicker dropdown-menu").css("display","none");
  }); 
  </code></pre>
  
  <p>but this is also not working and datepicker.js returns an error(that date is not defined).</p>