Hi, I'm trying to passing values from a popup back to the parent window. In the popup window, I have a select box (multiple). I want to pass the selected items back to the parent window but it is only passing back the first value select not all the values selected in the drop down. Here is what I have: <script language="JavaScript" type="text/javascript"> function popit() { var selObj = document.getElementById('select1'); var selObj2 = document.getElementById('select2'); var selIndex = selObj.selectedIndex; var selIndex2 = selObj2.selectedIndex; opener.document.getElementById("texta").innerHTML=selObj.options[selInde x].value; opener.document.getElementById("textb").innerHTML=selObj2.options[selInd ex2].value; //alert(selObj.options[selIndex].value); } </script> <form action="pop2.cfm" method="post"> <select name="select1" multiple size="3"> <option value="1">1 <option value="2">2 <option value="3">3 </select> <br> <select name="select2"> <option value="a">a <option value="b">b <option value="c">c </select> <input type="button" value="submit" name="submit" onclick="popit();"> </form> Thanks!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234118 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54