<select onchange="alert(this.options.selectedIndex+1);">
  <option>sfas</option>
  <option>sfda</option>
  <option>sfa</option>
  <option>sfa</option>
  </select>

解决方案 »

  1.   

    星辰技术社区:www.netcsharp.cn,我们将帮您以最快的速度找到最佳的解决方案 
      

  2.   

    index = document.form_name.select_name.selectedIndex + 1;
      

  3.   

    document.getElementById("selectId").selectedIndex + 1
      

  4.   

    列表框(SELECT) 通用的操作函数http://topic.csdn.net/u/20080319/11/c580ef77-077b-4658-8b74-37639df63f6e.html
      

  5.   

    灌水机代码:www.dullwolf.cn/CSDNer.rar下载。