Hello,
Use the following code:
document.body.style.cursor = "progress";
OR you can use the following code: (This uses CSS class to set cursor)
Style:
<style type="text/css">
.cursorPointer
{
cursor: pointer;
}
.cursorPointer2
{
cursor: progress;
}
</style>
Script:
function Change() {
document.getElementById("pagebody").className = "cursorPointer2";
}
HTML:
<body class="cursorPointer" id="pagebody">
<input type="button" value="ChangeCursor" onclick="resettextbox('Value');" />
</body>