jQuery does not understand !important , so if you delete it, it will work:
$('selector').css({ 'cursor': 'url(http://www.google.com/intl/en_ALL/mapfiles/closedhand.cur), default'});
Are there any ways around this, why not use a CSS class?
.cursor { cursor: url('http://www.google.com/intl/en_ALL/mapfiles/closedhand.cur'), default !important; }
So you can simply:
$('selector').addClass('cursor');
There are other alternatives: How to apply! important using.css ()?
source share