<form> 
<span id="sp"></span> 
<select  name="s1" onchange="show(this)"> 
<option id="123" value="123"  selected="selected">123 </option> 
<option id="2" value="2">2 </option> 
</select> </form> <script>
function show(obj)

    document.getElementById("sp").innerHTML = obj.value;
}
</script>

解决方案 »

  1.   

    function show()
    {
    document.getElementById("sp").text=this.options[this.selectedIndex].value;
    }
      

  2.   

    给你改下上边的代码,你写得有问题<form> 
      <span id=sp> </span>
      <select  name="s1" onChange="show(this)"> 
      <option id="123" value="123"  selected>123 </option> 
      <option id="2" value="2">2 </option> 
      </select> 
      </form> 
    然后在假如下边代码function show(selObj){
       document.getElementById("sp").innerText = selObj.value;
    }