I put a datepicker on my page inside an imput, it works perfectly, but it displays up, how can I change that property.
this is the javascript code
<script>
$(document).ready(function() {
$( function() {
$( "#datepicker" ).datepicker({ minDate: 0, maxDate: "+1W", dateFormat:
'yy-mm-dd'});
});
});
</script>
and so I put it in html
div class="offset-lg-3 col-lg-6 row">
<div class="col-lg-6 tlBack text-center" style="border-style: solid double;
color: white;">
<span class="label white text-center">date</span>
</div>
<input type="text" name="datepicker" value="" class="col-lg-6 text-center"
id="datepicker" required disabled>
</div>