Possible Duplicate:
Jquery css: applying !important styles
I have the following code:
$("body")
.ajaxStart(function () {
$(this).css({ 'cursor': 'progress' })
})
.ajaxStop(function () {
$(this).css({ 'cursor': 'default' })
});
This works but not when I hover over a link where I have a hover and a different cursor. Is there a way that I can set the CSS cursor property above to important with jQuery>
Try this code for example:
$(this).css({ 'cursor': 'default !important' })
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With