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

前端 未结 15 2006
自闭症患者
自闭症患者 2020-11-27 13:49

I use this jQuery code to set the mouse pointer to its busy state (hourglass) during an Ajax call...

$(\'body\').css(\'cursor\', \'wait\');

15条回答
  •  暖寄归人
    2020-11-27 14:08

    I believe this issue (including the mousedown problem) is now fixed in Chrome 50.

    But only if you are not using the developer tools!!

    Close the tools and the cursor should immediately respond better.

提交回复
热议问题