Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Forget the past - Date selection
- From: javascript@xxxxxxxxxx (Andrew Gibson)
- Subject: [Javascript] Forget the past - Date selection
- Date: Fri, 21 Feb 2003 12:49:52 +1300
Look into the date object. Then assign what ever date they have chosen to the date object and look at the spefic properties for year, month, day etc. if any of them or combinations are invalid, then do something ! Subject: [Javascript] Forget the past - Date selection > Clever people... > I need a date chooser for a form. The criteria is that it obviously must select correct dates i.e. NOT Feb 31, but the user must NOT be able to select a date in the past. > Extra features would be:Today is selected upon load and a possible max of being able to select upto a month into the future (but not essential) >
- References:
- [Javascript] Forget the past - Date selection
- From: javascript@xxxxxxxxxx
- [Javascript] Forget the past - Date selection
- Prev by Date: [Javascript] Forget the past - Date selection
- Next by Date: [Javascript] Form validation wrong=no upload
- Previous by thread: [Javascript] Forget the past - Date selection
- Next by thread: [Javascript] Forget the past - Date selection
- Index(es):