FanaticZine

change date range of JQuery Datepicker

by z7oofy on Nov.20, 2008, under Development, JQuery

here is the code. this will set the datapicker year from 1956 to 2003..

[sourcecode language='javascript']
$(‘#dateofbirth’).datepicker({
yearRange: ’1956:2003′
});[/sourcecode]

:, , ,

1 Comment for this entry

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

  • Dedicated for entertainment