Change Cursor in JavaScript
เราสามารถเปลี่ยน Cursor ในแต่ละส่วนของ html element ได้โดย เปลี่ยน property ของ document.body.style.cursor < form onsubmit = "document.body.style.cursor='wait'" > ... </ form >
โดย cursor ทั้งหมดที่มีให้ใช้ก็คือ.. auto
crosshair
default
pointer (hand in IE 5.x)
help
move
text
wait
e-resize, w-resize, n-resize, s-resize, ne-resize, nw-resize, se-resize, sw-resize
โดย value ทั้งหมดสามารถที่จะ assign ให้กับ onmouseover / onmouseout event ได้ เช่น.. < img ... = "" onmouseover = "this.style.cursor='crosshair';" src = ".." />