如题所述
<input id="myinput" type="button" style="width:150; text-align:center;" value="botton"/>
<script>
document.getElementById("myinput").onclick=function(){
if(this.style.cursor=="")
this.style.cursor="progress";
else
this.style.cursor=""
}
</script>
<script>
document.getElementById("myinput").onclick=function(){
if(this.style.cursor=="")
this.style.cursor="progress";
else
this.style.cursor=""
}
</script>
温馨提示:答案为网友推荐,仅供参考