ahmet ahmet - 1 year ago 96
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");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download