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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -