Combine inline jquery datepicker with an input field
$('#calendar').datepicker({ inline:true, altField:'#date' }); $('#date').change(function(){ $('#calendar').datepicker('setDate',$(this).val()); });
<input type="text" id="date" name="date" value="<?=date('d.m.Y')?>"/> <div id="calendar"></div>
http://stackoverflow.com/questions/19344135/combine-inline-jquery-datepicker-with-an-input-field