0 Replies Latest reply on Mar 27, 2008 9:52 PM by Maddy's_page

    Solution needed for arrays

    Maddy's_page
      var myFirstArray = new Array("frame01", "frame02", "frame03");
      var mySecondArray = new Array("frame04","frame05","frmae06");
      var myListBoxArray = new Array("Planning","Inwork","Complete");
      listBox.dataProvider = myListBoxArray ;
      listBox.multipleSelection = true;

      Now whenever I select items in the listbox I need to get those selectedIndices and get the corresponding item from the "mySecondArray" and push to the "myFirstArray". In the same way when ever I deselect an item from the listbox the corresponding element needs to be pop from the myFirstArray.

      Could Anybody help me on this.

      -- Maddy