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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -