document.getElementById('id').style.cursor = 'pointer';
document.body.style.cursor = *cursor-url*; //OR var elementToChange = document.getElementsByTagName("body")[0]; elementToChange.style.cursor = "url('cursor url with protocol'), auto";