Explanation: onClick="displaySelectionValues(this.form.teams)"
   function displaySelectionValues(objectName)
    { var ans = "";
      for (var i = 0; i < objectName.length; i++)
      { if(objectName.options[i].selected)
        {  ans += objectName.options[i].text + "<BR>";
        }
      }
      myWin = window.open("", "Selections", "height=200,width=400")
      myWin.document.write("You picked these teams:<BR>")
      myWin.document.write(ans)
    }                                             

Use Ctrl key to select multiple items

Return to Main Page