Have not done it yet, but there is a function

        getSelectedItem( ) in ComboBox... 

tried that?



> -----Ursprüngliche Nachricht-----
> Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
> Auftrag von fowleryj
> Gesendet: Donnerstag, 29. September 2005 15:23
> An: flexcoders@yahoogroups.com
> Betreff: [flexcoders] ComboBox selectedItem comparison
> 
> Hello,
> 
> I'm trying to determine whether a user's selection within a ComboBox
> is a valid one for the task that is being carried out. How do I do a
> comparison with a ComboBox? I've tried selectedItem,
> selectedItem.data, selectedItem.label, and selectedIndex--
> selectedItem returns an [object Object], and selectedItem.data,
> selectedItem.label, and selectedIndex return "undefined". Since my
> ComboBox is populated, I don't know what to make of the "undefined".
> 
> Any ideas on how to determine exactly what the user has selected, so
> that I can compare it with the values I *don't* want them to have
> selected for this particular task?
> 
> Thanks
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to