I am working with datapicker bootstrap in the range of dates and particularly this container has no input to select the date, rather it is based on a div
<div id="reportrange" name="reportrange" class="pull-right" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc; width: 100%">
<i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
<span></span> <b class="caret"></b>
</div>
which dates can not be sent by post or by get I do not understand why, try to create a hidden input to pass the values through a onchange function but it does not work either! ideas ....?
$('#reportrange').on('change',function myFunction(){
var x = $('#reportrange').val();
$("#oculto").val(x);
});