ahmet ahmet - 11 months ago 73
HTML Question

Changing cursor to waiting in javascript/jquery

enter image description here

How would i get my cursor to change to this loading icon when a function is called and how would i change it back to a normal cursor in javascript/jquery

Answer Source

In your jQuery use:

$("body").css("cursor", "progress");

and then back to normal again

$("body").css("cursor", "default");