alert("|"+document.form1.select1.options[select1.selectedIndex].text+"|");

解决方案 »

  1.   

    谢谢这位大哥,大哥果然是高手,高手,高高手!无限佩服中……
    alert("|"+document.form1.select1.options[document.form1.select1.selectedIndex].text+"|");
    我按照你的提示写的,得到了结果,再次谢谢啦!
      

  2.   

    //获取当前Select列表项目的值:
    function GetSelectValue(obj){
    for(var i=0; i<obj.options.length; i++){
    if(obj.options[i].selected==true){
    return obj.options[i].value;
    break;
    }
    }
    }alert(GetSelectValue(form1.select1));