Fiddle ex: http://jsfiddle.net/EmwFE/
So I have been trying to get datepicker working and I think I am following the directions but I can't get the calendar to pop up.
TIA
Fiddle example above code below.
<label class="control-label" for="input08">
My Start Date
</label>
<div class="controls">
<script type="text/javascript">
$(document).ready(function() {
$('.datepicker').datepicker();
</script>
<div class="input-append date" id="dp3" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
<input class="span2" size="16" type="text" value="12-02-2012" class="datepicker">
<span class="add-on"><i class="icon-th"></i></span>
</div>
</div>
Look this: jsfiddle
You bet initialization the ID of the div that contains everything. you were aiming at nothing!
$('#dp3').datepicker();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With