试试这个:
function sopen()
{
var getV=window.showModalDialog('*.aspx','','dialogWidth:1100px; dialogHeight:600px;status:no;help:yes')
if(getV!=null)
{
var str=new Array();
str=getV.split(",")
value=str[0];
var oOption= document.createElement('OPTION');
oOption.text=str[0];
oOption.value=str[1];;
document.getElementById('drSContract').options.add(oOption);
}
}