how to change mouse pointer in javascript code example Example: change the mouse pointer javascript document.body.style.cursor = "default";