Mouse cursor style

567
2
09-23-2011 10:10 AM
JosephSaltenberger
New Contributor III
I am trying to change the mouse cursor style when a user clicks a button in my application. I change the cursor in using the following code on the buttons click event:

document.body.style.cursor = 'help';

The cursor changes fine in the application except when the mouse is hovered over the map. When the mouse is over the map it returns to the default pointer. Why does the mouse cursor return to the default when hovered over the map? Is the a solution?
0 Kudos
2 Replies
derekswingley1
Frequent Contributor
0 Kudos
JosephSaltenberger
New Contributor III
Thanks, missed that in the reference somehow.
0 Kudos