Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Jquery check if hover over child element

//                 $('#child-element:hover').length



$(document).on('click','#parent',function(){
  if ($('#child:hover').length){
    //do something
  }
});
 
PREVIOUS NEXT
Tagged: #Jquery #check #hover #child #element
ADD COMMENT
Topic
Name
6+8 =