一个动态设置input问题
想动态设置input是否可以进行操作 
 禁止操作的静态方法是加disabled 
 例如style的设置 
 document.all.hissearchlist.style.display= ' '   
 disabled不是一个类名,如何动态设置呢?   
------解决方案-------------------- <script type= "text/javascript ">  
 function dr(id) { 
 	var o = document.getElementById(id); 
 	o.disabled = !o.disabled; 
 } 
  </script>  
  <input type= "button " id= "wc " value= "无辜的按钮 " />  
  <input type= "button " value= "禁止/起用 " onclick= "dr( 'wc ') " />