I wanted to remove the cursor from the current element clicked. I've tried the following:
$('div').on('click',function(){
$(this).off('mouseenter');
});
But this doesn't displace the cursor. Any idea?
I wanted to remove the cursor from the current element clicked. I've tried the following:
$('div').on('click',function(){
$(this).off('mouseenter');
});
But this doesn't displace the cursor. Any idea?
If I understand what you want correctly, then you should use the CSS property of cursor:none;
.
jQuery Example : Example JSFiddle
$('div').on('click',function(){
$(this).css({'cursor' : 'none'});
});