well, it is supposed to test for the content of the
selected item and then what I want to do is enable or
disable a list control.. I have tired both the number
zero (the selected index) of my first list and the
text value and cannot get it to work.

--- Manish Jethani <[EMAIL PROTECTED]> wrote:
> On 5/5/05, cnewroth55 <[EMAIL PROTECTED]> wrote:
> 
> >         if (event.target.selectedIndices == "All
> Reports"){
> >                 srcgrid.enabled =
> !srcgrid.enabled;
> >         }
> 
> I'm sorry if this is a stupid question as I haven't
> gone through your
> entire code line by line, but what does the above
> if-condition want to
> test?  'selectedIndices' will be an array of Number
> objects, so I
> wonder if comparing it to a string like that is
> correct.
> 


                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html



 
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