Reply to Re: select tag

Your name:

Reply:


Posted by Benjamin Niemann on 07/05/06 14:43

shikha810@gmail.com wrote:

> data in select is coming from a query and its possible that there are
> no records in the selection.

The purpose of a SELECT element is - as the name suggests - to select an
option. If there are no options, the SELECT element is pointless and just
confusing. And as Yukka pointed out, it is not allowed in HTML.

> this is strange that you are finding it difficult to imagine such a
> scenario.

The scenario isn't difficult to imagine. But it is strange, if you don't
think that there is something wrong with the 'solution' of an empty SELECT
element.

> anyways, my problem is solved.

I hope by omitting the SELECT completely, if there are not options to choose
from.

P.S.: Please quote the relevant parts of the message you are replying to.

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

[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

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