I have this input:
<p>Início do período:</p> <input type="text" id="calendario">
<script>
var start = new Date(1997, 12, 01);
var end = new Date(1998, 11, 31) ;
$(document).ready(function() {
$('#calendario').datepicker({
startDate: start,
endDate: end
});
});
</script>
I need the value that the user will select, how could I put this value in a php variable?