Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple way to implement smart date select boxes. Given month, day, and year select boxes, this plugin will automatically populate the day select box with the proper amount of days for a given year and month combination, taking leap years into account.

branch: master
README
A simple way to implement smart date select boxes. Given month, day, and year select boxes, this plugin will automatically populate the day select box with the proper amount of days for a given year and month combination, taking leap years into account.

Demo: http://nickbusey.github.io/jQuery-Date-Select-Boxes-Plugin/

Usage: $().dateSelectBoxes($('#birthMonth'),$('#birthDay'),$('#birthYear'), keepLabels);

Where keepLabels is a boolean you can set to preserve the first element in the select (e.g., a descriptive select option used instead of a separate label element (e.g., 'Day'))

Uses and includes the jQuery Select Box Manipulation plugin http://www.texotela.co.uk/code/jquery/select/
Something went wrong with that request. Please try again.