jQuery plugin for creating day/month/year filtered lists, bound to a text field with the date value.
For an example visit the demo page
##Installation
<link rel="stylesheet" type="text/css" href="/css/jquery.dateLists.css">
<script type="text/javascript" src="/js/jquery.dateLists.min.js"></script>
##Basic Example
###HTML
<input type="text" id="test_fld" value="5-2-2000"/>
###Jquery
<script type="text/javascript">
$().ready(function() {
$('#test_fld').dateDropDowns({dateFormat:'dd-mm-yy'});
});
</script>
##Paramaters
- dateFormat Determines the layout of the date, 'dd-mm-yy', 'mm-dd-yy', use MM or DD for 2 digit values.
- monthNames Array of month labels
- yearStart / yearEnd Integer value for start and end years.
###Jquery
<script type="text/javascript">
$('#fld_id').dateDropDowns({
dateFormat:'DD-mm-yy',
monthNames: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
yearStart:'1979', yearEnd:'2011'
});
</script>