Note that there are some explanatory texts on larger screens.

plurals
  1. PObootstrap-datepicker.js auto close and not greater than this month
    text
    copied!<p>I'm using <a href="http://www.eyecon.ro/bootstrap-datepicker" rel="nofollow">http://www.eyecon.ro/bootstrap-datepicker</a> as the date picker in my form in conjunction with Twitter Bootstrap, and I'm having trouble getting it to auto close, and for any month/year combination greater than current month/year to be selectable. I've gone over and over the documentation, but can't see to get it. Any assistance appreciated.</p> <p>My form is below </p> <pre><code>&lt;div class="control-group"&gt; &lt;label class="control-label" for="CC_CARDEXPIRY"&gt;&lt;strong&gt;Card Expiry Month/Year&lt;/strong&gt;&lt;/label&gt; &lt;div class="controls"&gt; &lt;div class="input-append date datepicker" id="CC_CARDEXPIRY" data-date="01/2014" data-date-format="mm/yyyy" data-date-viewmode="years" data-date-minviewmode="months"&gt; &lt;input class="span6" name="CC_CARDEXPIRY" size="20" type="text" value="01/2015" readonly&gt; &lt;span class="add-on"&gt;&lt;i class="icon-calendar"&gt;&lt;/i&gt;&lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>and my Javascript currently is</p> <pre><code>&lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt; &lt;script src="../js/bootstrap.min.js"&gt;&lt;/script&gt; &lt;script src="//ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"&lt;/script&gt; &lt;script src="../js/bootstrap-datepicker.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $('#CC_CARDEXPIRY').datepicker(); &lt;/script&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload