jquery - mouseover mouseout not working properly -
am trying show modal on mouse on , close modal on mouse out. give class div , calling on .hover.
but blinking. open close open close.
why behavior??
even mouse inside div closing .
$('.divclass').hover(function(){ dialog.open() }, function(){ dialog.close() });
i use mouse on , mouseneter .. same behavior blinking..open close... why?? suggesion
i suggest try
$('.divclass').mouseenter(function() { //dialog open }); $('.divclass').mouseleave(function() { //dialog close });
Comments
Post a Comment