So I have this date picker, and I managed to change the year range, but I noticed that the "select" year bar is way too long (here's a picture http://s24.postimg.org/r8fq9faxh/Captura_de_ecr_2013_12_8_s_15_37_17.png ). Is that a way to change it's size?
<script>
$(document).ready(function () {
$("#datepicker").datepicker({
changeMonth: true,
changeYear: true,
yearRange:'-90:+0',
beforeShow: function (input, inst) {
setTimeout(function () {
inst.dpDiv.css({
top: 170,
left: 37
});
}, 0);
}
});
})
</script>
<style>
.ui-datepicker {font-size:70%; }
</style>
And the HTML:
<input type="text" id="datepicker" size="13">