[thelist] Auto populated JS dropdown

Joe Crawford jcrawford at avencom.com
Wed Jun 6 18:02:40 CDT 2001

CDitty wrote:
> I am in need of some special JS that I hope someone has.
> I need to have a drop down box that lists all the months of the year. In
> another box, the days of the month. When the user changes the month, the
> days drop down would be automatically updated to reflect the correct number
> of days for that month.
> anyone have anything like this?

I have something like it here - the code is about a B- though, and
comments get a solid C+. Have a look, it should be simply modifiable to
do what you like. But it seems to me you would need to add a proper
calendar to support it, which is not part of my multiple-select thing.

Have a look:


	- Joe <http://artlung.com/>
Joe Crawford ||||||||||||||       mailto:jcrawford at avencom.com
||||||||||||||||||||||||             http://www.avencom.com
|||||||||||||||||||||||||||      Avencom: Set Your Sites Higher

More information about the thelist mailing list