I have a function that takes some time to execute. During that time i want to change the MousePointer to a hourglass. i tried some different approaches, but they all failed.
imSort(); //this code takes long to excecute
I saw somewhere an example with setTimeout but i could not get it to work.