hi how restrict the year in jquery datepicker?

Posted by udaya on Stack Overflow See other posts from Stack Overflow or by udaya
Published on 2010-05-17T06:06:15Z Indexed on 2010/05/17 6:10 UTC
Read the original article Hit count: 345

Filed under:
|
|

Hi I am using jquery.datePicker.js js file to create a date picker This is whati have in my view page

<input type="text" style="font-family: verdana; width: 80px;" id="txtArrivalDate" class="startDate" name="txtArrivalDate" value="<?php echo $_POST['txtArrivalDate'] ?>" /> 

when i click on the arrival date text box the year column starts on current year say 2010 but the years less than 2010 also available on the year select box how to get rid of the years below current year

© Stack Overflow or respective owner

Related posts about php

Related posts about datepicker