What does your DataProvider look like? Tracy -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fowleryj Sent: Thursday, September 29, 2005 9:23 AM To: flexcoders@yahoogroups.com Subject: [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 --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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/