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

前端 未结 15 1997
自闭症患者
自闭症患者 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:07

    I don't think you'll be able to do it.

    However, try changing the scroll position; it might help.

提交回复
热议问题