jQuery .mouseover() mouse events

0 votes
124 views
added Apr 3, 2018 in jQuery by LC Marshal Captain (25,790 points)
edited Jun 26, 2020 by LC Marshal

Mouseover to show and mouseout to hide

$(".parent-div").mouseover(function() {
  $(this).find('.overlay-div').show();
});

$(".parent-div").mouseout(function() {
  $(this).find('.overlay-div').hide();
});
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...