Think what you want is something like this:
$('body').css('cursor','wait');
You can't apply CSS
to the document
. Also if you wanted to only apply this css to the CTRL
key press you could do:
$(document).on('keydown', function (event) {
if (event.ctrlKey) {
$('body').css('cursor', 'wait');
}
});