var select_id = document.getElementById("selectName").value;
就可以了,你试试
selectName为select的name.

解决方案 »

  1.   

    <script type="text/javascript">
    <!--
    function func() {
        var n = document.F1.S1.selectedIndex;
        alert(document.F1.S1.options[n].text);
    }
    // -->
    </script>
    <form name="F1" action="#">
    <select name="S1">
    <option>AAAA
    <option>BBBB
    <option>CCCC
    </select>
    <input type="button" value="OK" onclick="func()">
    </form>
      

  2.   

    更新一下:
    <script type="text/javascript">
    <!--
    function func() {
        var n = document.F1.S1.selectedIndex;
        document.F1.T1.value=document.F1.S1.options[n].text;
    }
    // -->
    </script>
    <form name="F1" action="#">
    <select name="S1">
    <option>AAAA
    <option>BBBB
    <option>CCCC
    </select>
    <input type="button" value="OK" onclick="func()">
    <input type="text" name="T1" value="">
    </form>
      

  3.   

    <select name="select" onChange="test.value=this.value;">
      <option value="1">1</option>
      <option value="2">2</option>
      <option value="3">3</option>  
      </select>
      <input type="text" name="test">
      

  4.   

    //-------------------------------------------------------
    //功 能:将指定列表选中的项的文本显示到指定的text框中
    //-------------------------------------------------------
    function SeltxtToText(paSel,paTxt){
    var selObj, txtObj,i;
    selObj = eval(paSel);
    txtObj = eval(paTxt);
    i = selObj.selectedIndex;
    if(selObj.item(i).text == '选择'){
    txtObj.value = ""
    } else {
    txtObj.value = selObj.item(i).text;
    }
    }
    公共函数:第一个参数是制定的下拉选择框,第二个参数为指定的文本框。
           格式为:document.frmname.objname