I have the following code to render a calendar with bootstrap.
However when I select a date, I cant get the value, not with .val() not with .text()
btw its a sharepoint page.
<h3>Fecha de cumpleaños</h3>
<div>
<div>
<div class="form-group">
<div class='input-group date' id='dtFechaCumpleanios'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar">
</span>
</span>
</div>
</div>
</div>
<script type="text/javascript">
jQuery(function () {
jQuery('#dtFechaCumpleanios').datetimepicker({
format: 'DD/MM'
});
});
</script>