mouse-pointer

Getting the browser cursor from “wait” to “auto” without the user moving the mouse

南笙酒味 提交于 2019-11-26 07:25:55
问题 I use this jQuery code to set the mouse pointer to its busy state (hourglass) during an Ajax call... $(\'body\').css(\'cursor\', \'wait\'); and this corresponding code to set it back to normal... $(\'body\').css(\'cursor\', \'auto\'); This works fine... on some browsers. On Firefox and IE, as soon as I execute the command, the mouse cursor changes. This is the behavior I want. On Chrome and Safari, the mouse cursor does not visibly change from \"busy\" to \"auto\" until the user moves the