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 Captain Paralytic on 02/19/07 13:40

On 19 Feb, 12:45, Richard <rgr...@gmail.com> 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?

What a negative way of asking!

How about "Is there any way that..."

Anyway, it depends on what you mean by "a previous submit".

3 ways spring to mind of how to do this:

1) Use pure local javascript to populate the day select based on the
selected month. No submit required at all.
2) Use an AJAX type call to let php/javascript populate the day
select.
3) Have the month select automagically submit the form and have it
return a populated day select control.

Of course, you could just use a javascript pop-up calendar.

 

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

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