Welcome to Dream.In.Code
Getting Help is Easy!

Join 117,165 Programmers for FREE! Ask your question and get quick answers from experts. There are 2,521 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Using javascript to update day, month and year in dropdown lists

 
Reply to this topicStart new topic

Using javascript to update day, month and year in dropdown lists

PHP_noob
post 14 Jun, 2008 - 10:29 PM
Post #1


New D.I.C Head

*
Joined: 5 Jun, 2008
Posts: 24

Hi folks pls look at the image below

IPB Image

Is there a way to use javascript to code the script such that the day , month and year values that appear in the day, month and year dropdown lists will always be today date and beyond, and the dates for yesterday and history won't appear

e.g. Today is 15 June 2008, so those dates considered history, e.g. 14 June 2008 or 10 June 2008, won't appear in the dropdown lists for the user to select
User is offlineProfile CardPM

Go to the top of the page


level1
post 15 Jun, 2008 - 09:11 PM
Post #2


New D.I.C Head

*
Joined: 12 Jun, 2008
Posts: 34



Thanked 5 times
My Contributions


You haven't really showed us what you tried, so I'm going to say check out this script and modify it to suit your needs.

http://www.howtocreate.co.uk/jslibs/validmonth.js

That whole site kicks ass too, so poke around.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/6/08 11:20AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month