Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Forget the past - Date selection
- From: javascript@xxxxxxxxxx (Peter-Paul Koch)
- Subject: [Javascript] Forget the past - Date selection
- Date: Thu, 20 Feb 2003 14:25:48 +0000
>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) >Have looked at most free javascript sites and not found anything. Does >anyone know where I can obtain this piece of code? http://www.xs4all.nl/~ppk/js/index.html?datecheck.html gives a script. The user can select a date from the past, but the script can be made to check and disallow this. Probably you'll have to tweak it, but I think it's what you're looking for. -------------------------------------------------- ppk, freelance web developer Interaction, copywriting, JavaScript, integration http://www.xs4all.nl/~ppk/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ W3C DOM Compatibility Table, expanded & updated http://www.xs4all.nl/~ppk/js/index.html?version5.html -------------------------------------------------- _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
- Prev by Date: [Javascript] Forget the past - Date selection
- Next by Date: [Javascript] Forget the past - Date selection
- Previous by thread: [Javascript] Forget the past - Date selection
- Next by thread: [Javascript] Form validation wrong=no upload
- Index(es):