|
Posted by Dr J R Stockton on 12/30/06 16:45
In microsoft.public.scripting.vbscript message <1167406316.195202.84900@
k21g2000cwa.googlegroups.com>, Fri, 29 Dec 2006 07:31:56, Highlander
<tron9901@msn.com> posted:
>The script works fine, but I'm wondering if there's any way to
>dynamically populate the pulldown lists with all the months of the
>year, days of the month, etc. - rather than have to list each one out
>Any suggestions would be greatly appreciated.
Well, you could read the news:c.l.j FAQ on the subject of dates.
Your job is done using javascript in my js-date6.htm#YMD, including only
offering the right number of days for the selected month. There is also
code for year-week-day numbering, using standard weeks.
But you should consider whether all likely users will have scripting
enabled.
FU set.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Navigation:
[Reply to this message]
|