You are here: Re: month and day of month edit fields « PHP Programming Language « IT news, forums, messages
Re: month and day of month edit fields

Posted by Johannes Vogel on 02/20/07 09:25

Hi Kimmo

Kimmo Laine wrote:
> "Johannes Vogel" <newsgroups@jvogel.ch> wrote in message
> news:8980a$45d9a20e$50da443b$6653@news.hispeed.ch...
>> Richard wrote:
>>> I wish to have a month select and next to it a day select.
>>> Is there no way at all for the day field to pick up the selected month
>>> without a previous submit on the part of the user?
>> Client side programming languages i.e. JavaScript (AJAX)...
> Fuck Ajax. There's no need to get all ajaxy and "hey look at me I'm so
> web2.0" for something as trivial as testing wether february has 28 or 29
> days. All other months are constants, they have either 31 or 30 days, then
> you just populate the day select with given number of days. What the hell
> would you do with ajax?

That's because I wrote i.e. JavaScript. But it's possible with AJAX
mechanism too.

It's not as trivial as you wrote for testing how many days a month has -
and you have to check the date again after sending to the server.
Perhaps with AJAX it's smarter to program.

HTH; Johannes

 

Navigation:

[Reply to this 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

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