<input type="text" id="DOB" />
$(document).ready(function () { $("#DOB").datepicker({ showOtherMonths: true, selectOtherMonths: true }); });