Jump to content

Date Choser dropdowns


iPixel

Recommended Posts

I need to somehow create a form with javascript that has 3 drop downs

Date: jan, feb, mar etc...

Day: 1,2,3,4,5,6,7  etc...

Year: 2008,2009,2010 (current year +2)

 

I could do this by hard code but what im looking to do is that when the person views this page.. the current date will automatically be selected

 

so the select options will be pre-chosen to the current date Jul-21-2008.

 

Thanks to all who help.

 

Link to comment
https://forums.phpfreaks.com/topic/115927-date-choser-dropdowns/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.