No 

<option selected="selected" > in xHTML.  

In HTML selected was a single item  so it has to be doubled in xHTML in both
the name/value pair.  I don't believe that selected="anything else" would
work in xHTML.  The value portion is probably ignored in HTML


Sandra Clark
==============================
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-----Original Message-----
From: DURETTE, STEVEN J (ASI-AIT) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 07, 2006 9:36 AM
To: CF-Talk
Subject: RE: Weird in Firefox: drop down list with selected item

I believe. (don't flame me if I'm wrong) but if it is xhtml it has to be
selected="true".

I've started coding it that way so I don't have to worry if I've got HTML or
XHTML. I close all my single tags now also!

Steve


-----Original Message-----
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 9:23 AM
To: CF-Talk
Subject: RE: Weird in Firefox: drop down list with selected item


<option value="0" selected>
<option value="0" selected="selected">
<option value="0" selected="true">
<option value="0" selected="blah">
 
Those all work. I normally just use the first one. ;-)

Try control + shift + R to make sure FF just isn't remembering the last
selection.

....:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

 


-----Original Message-----
From: Philippe Varichon [mailto:[EMAIL PROTECTED] ] 
Sent: Thursday, December 07, 2006 8:04 AM
To: CF-Talk
Subject: Weird in Firefox: drop down list with selected item

I have a drop down list with one item selected which does not display in
Firefox but it does in IE.  What is weird is that in the source code it
shows correct.  Any other way of entering a "selected" in firefox?







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263239
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to