I want to check if an element is hanging. I get this error:
Syntax error, unrecognized expression: unsupported pseudo: hover
when i use this code:
$('.class').blur(function(){ if(!$(this).is(':hover')){
I also tried this:
$('.class').blur(function(){ if($(this+":hover").length === 0){
this doesn't work either. Is there any other way to do this. Thank you
source share