You are here: Re: How to get value from drop down box to e-mail with php « PHP Programming Language « IT news, forums, messages
Re: How to get value from drop down box to e-mail with php

Posted by John Dunlop on 07/03/06 18:14

Jonathan N. Little:

> Kimmo Laine wrote:
>
> > That's not an issue, if value is not given, then anything that's inside the
> > <option></option> will be used instead. In this case for example
> > <option>Company</option> Company will be used since it lacks value.
>
> Browser dependent, MS IE doesn't set the value by default. It really
> becomes noticeable in JavaScript if you test for someSelectElement.value
> will fail in IE if you do not explicitly set the value attributes on the
> OPTION elements...

not disputing that, but I'd point out that the spec is quite clear
when it says, as Kimmo said, that in the absence of a value attribute,
the value is set to the element's content.

--
Jock

 

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

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