a.htm
    function openstr() 


ReturnValue=window.showModalDialog(page,window,"dialogWidth=460px;dialogHeight=320px;status=no"); 
if(ReturnValue && ReturnValue!="") 

document.all.mobile.value=ReturnValue; 

}
<textarea  name="mobile" id="mobile" cols="70" rows="5" type="_moz" disabled="false"></textarea>
b.htm
function text()
{
  var str=""  ;  
  for (key=0;key<MoveSelectFrom.selectUser.length;key++)
     {   
       str=str+MoveSelectFrom.selectUser.options [key].value+","; 
     }
  if(str==null) return(false); 
  window.returnValue= str;
  window.close(); 
<select name="selectUser" size="12" multiple id="select1" >
</select>添加过去的汉字咋么变成了数字?
还有如何在<textarea>里连续添加不把以前添加的值丢了.