iPixel Posted July 22, 2008 Share Posted July 22, 2008 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. Quote Link to comment Share on other sites More sharing options...
xtopolis Posted July 22, 2008 Share Posted July 22, 2008 Javascript has it's own built in date object. http://www.w3schools.com/JS/js_obj_date.asp I don't really know what you're asking otherwise. But that should help you find out the current month, day, year and apply it to your fields. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.