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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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