Changing cursor while waiting for remote function response?

First of all, since a remote call should be asynchronous, I see no real reason to do so. An indicator that you just show and hide is a more appropriate indicator.

You could try and see if:

$$(‘body’).first().setStyle({‘cursor’: ‘wait !important’});

works, but I think at least one or two browsers won’t allow you to do so. Reset it with:

$$(‘body’).first().setStyle({‘cursor’: ‘default’});

As I said, untested and probably won’t work, but that’s the only possible solution I can think of right now.

Best regards

Peter De Berdt