javascript 改变鼠标形状

#xxx { 
cursor: default; 

你可以使用的鼠标形状有: 

style="cursor:hand"  
style="cursor:crosshair"  
style="cursor:text"  
style="cursor:wait"  
style="cursor:move"  
style="cursor:help"  
style="cursor:e-resize"  
style="cursor:n-resize"  
style="cursor:nw-resize"  
style="cursor:w-resize"  
style="cursor:s-resize"  
style="cursor:se-resize"  
style="cursor:sw-resize" 

 

 

 

<input   id= "txt1 "   type= "text "   style= "cursor:hand "> 
<lable   style= "cursor:default "> aaaaaaaaaa </lable> 

<script   language= "javascript "> 
      txt1.style.cursor= "move "; 
</script>

 

你可能感兴趣的:(JavaScript,input)