能将select下拉框设置成readonly的两种方法

来源:互联网 发布:烟台捷瑞网络 编辑:程序博客网 时间:2024/05/17 04:42

第一种:

<script>var f=s.selectedIndex</script>

<select name=s onchange="selectedIndex=f">
<option>1 </option>
<option selected>2 </option>  
</select>  

第二种

<span onmousemove=".........

 

详细内容 原文地址: http://www.haohaonews.com/show.php?tid=15

原创粉丝点击