provato così?

codice:
document.getElementById("mioDiv").setAttribute("style", "cursor:pointer;");
ciao