如何不用disabled而使select不能下拉或不能改变原有的值?

如何不用disabled而使select不能下拉或不能改变原有的值?
---------------------------------------------------------------

1<select id="s" onchange="this.selectedIndex=i">
2<option>1   
3<option selected="">2   
4<option>3   
5</option></option></option></select>
1<script>   
2var i=s.selectedIndex   
3</script>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus