Typo.  Your closing tag is </selected> instead </select>.  Netscape is
uber-picky about correct HTML, but IE is a little more forgiving.

Dana Larose
Software Engineer
Canadian Web Design & Consulting Inc.

A: 701-281 McDermot Avenue (McDermot & King)
P: 204.946.5155
C: 204.228.0477
F: 204.946.5156
E: [EMAIL PROTECTED]
W: http://www.cdnwebdesign.com

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized.  If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. When addressed to our clients any
opinions or advice contained in this email are subject to the terms and
conditions expressed in the applicable Canadian Web Design & Consulting Inc.
client engagement contract.


> -----Original Message-----
> From: Greenberg, Lisa [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 06, 2000 2:19 PM
> To: cftalk (E-mail)
> Subject: Select Form Element in IE vs Netscape?
>
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C01837.4BC9ACF0
> Content-Type: text/plain;
>       charset="iso-8859-1"
>
>
> Why does the following show up and work fine in IE and not Netscape?
>
>   <select name="gender" >
>    <cfoutput query="sexlst">
>   <cfif sexlst.value contains currentpt_dat.gender>
>        <option value="#sexlst.value#" selected>#sexlst.descrip#</option>
>       <cfelse>
>       <option value="#sexlst.value#" >#sexlst.descrip#</option>
>       </cfif></cfoutput></selected>
>
>
> Thank you in advance.
>
> Lisa
>
> ------_=_NextPart_001_01C01837.4BC9ACF0
> Content-Type: text/html;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 5.5.2651.75">
> <TITLE>Select Form Element  in IE vs Netscape?</TITLE>
> </HEAD>
> <BODY>
> <BR>
>
> <P><FONT SIZE=3D2 FACE=3D"Arial">Why does the following show up and =
> work fine in IE and not Netscape?</FONT>
> </P>
>
> <P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; &lt;select =
> name=3D&quot;gender&quot; &gt;</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; &lt;cfoutput =
> query=3D&quot;sexlst&quot;&gt;</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; &lt;cfif sexlst.value contains =
> currentpt_dat.gender&gt;</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> &lt;option value=3D&quot;#sexlst.value#&quot; =
> selected&gt;#sexlst.descrip#&lt;/option&gt;</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> &lt;cfelse&gt;</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> &lt;option value=3D&quot;#sexlst.value#&quot; =
> &gt;#sexlst.descrip#&lt;/option&gt;</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> &lt;/cfif&gt;&lt;/cfoutput&gt;&lt;/selected&gt; </FONT>
> </P>
> <BR>
>
> <P><FONT SIZE=3D2 FACE=3D"Arial">Thank you in advance.</FONT>
> </P>
>
> <P><FONT SIZE=3D2 FACE=3D"Arial">Lisa</FONT>
> </P>
>
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C01837.4BC9ACF0--
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to