RE: [flexcoders] ComboBox selectedItem comparison

2005-09-29 Thread Tracy Spratt
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/
 




RE: [flexcoders] ComboBox selectedItem comparison

2005-09-29 Thread Christoph Diefenthal
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/
 





RE: [flexcoders] ComboBox selectedItem comparison

2005-09-29 Thread Paramjit jolly
 

-Original Message- 
From: flexcoders@yahoogroups.com on behalf of fowleryj 
Sent: Thu 9/29/2005 6:53 PM 
To: flexcoders@yahoogroups.com 
Cc: 
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 



*Visit your group "flexcoders 
 " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]  
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service  . 


  _  




 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/
 
<>