1

I wanted to remove the cursor from the current element clicked. I've tried the following:

$('div').on('click',function(){
   $(this).off('mouseenter'); 
});

demo

But this doesn't displace the cursor. Any idea?

Bhojendra Rauniyar
  • 83,432
  • 35
  • 168
  • 231

1 Answers1

1

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'});
});
Nunners
  • 3,047
  • 13
  • 17