PDA

View Full Version : javascript date function help?


cscs
09-11-2002, 11:40 PM
hello.

i'm trying to do a simple php/javascript date dropdown. so when a user clicks on 'september' in the dropdown, the days dropdown changes to display only the number of days in september.

populating the dropdowns with php arrays is simple enough, but i'm not sure how to handle the onChange bit so that changing a month changes the days available.

any suggestions?

joh6nn
09-12-2002, 05:21 AM
http://javascriptkit.com/script/script2/dcombotext.shtml