> more clearly, if multiple instances occur, any new instance
> of SELECTED will supersede any previous instance.
In MSIE, yeah. Netscape ignores any subsequent SELECTED's.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
nce.
DanO
-Original Message-
From: DanO [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 5:25 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Dynamic Drop-down list
wrong.
you can put it on any element in the list. cut'n'paste and try for
yourself:
selected
DanO
-
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 6:05 PM
Subject: RE: [PHP] Dynamic Drop-down list
>
> the 'SELECTED' attribute will select an item in a dropdown list.
>
> by default, with no SELECTED attribute, the first item will be shown an
Many thanks! Works like a champ now...
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAI
o: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 6:05 PM
Subject: RE: [PHP] Dynamic Drop-down list
>
> the 'SELECTED' attribute will select an item in a dropdown list.
>
> by default, with no SELECTED attribute, the first item will be shown and
> selecte
To: [EMAIL PROTECTED]
Subject: [PHP] Dynamic Drop-down list
I create a Drop-down from a DB table. All works as expected *except*
the default item (the one showing to the surfer) is the last in the
list. Is there a way I can have the first item show?
Todd
/* Make a drop-down */
function mak
I create a Drop-down from a DB table. All works as expected *except*
the default item (the one showing to the surfer) is the last in the
list. Is there a way I can have the first item show?
Todd
/* Make a drop-down */
function make_dropdown($ddName, $itemList, $first) {
if (count($i
7 matches
Mail list logo