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]
|