You are here: Re: Elements with the same name « HTML « IT news, forums, messages
Re: Elements with the same name

Posted by Jonathan N. Little on 02/07/06 16:44

Erwin Moller wrote:
> Leszek wrote:
>
>
>>Hi.
>>
>> <div id="id1">
>><select name="name">
>>//options
>></select>
>></div>
>>
>> <div id="id2">
>><select name="name">
>>//options
>></select>
>></div>
>>
>>Is it ok to have two or more select lists with the same name? (Each in
>>different div)

Actually the answer is yes, the data will be in an array

name[0].value has the first form elements value
name[1].value has the second form elements value

<snip>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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