Sarting from here I use the following html code:
<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">
<span class="add-on"><i class="icon-th"></i></span>
</div>
near the end of body I call this:
<script src="../js/bootstrap-datepicker.js"></script>
<script>$('#dp3').datepicker(); </script>
</body>
I also include the following
<link href="../css/datepicker.css" rel="stylesheet">
But when I click on the field no datepicker is open.