1 Reply Latest reply on Jun 24, 2009 4:12 PM by kglad

    print labels from a multi-select list

    cynack1974

      Newbie problem here...

       

      I have created a list control with the instance name "dependents" and populated it with labels and data. MultipleSelection is set to true.

       

      I would like to print the labels in a comma-delimited list.

       

      I have used the following code...

       

      dependents.selectedItems.toString()

       

      which yeilds the following when there are two items selected...

       

      [object Object],[object Object]

       

      If anyone could tell me the correct way to access the labels in these objects in the case of a multipleSelection I would appreciate it.

       

      Thanks,

       

      Jason Wolfe