Reply to Re: Create Pulldown Menus for Month/Day/Year in HTA

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация