hide - Mouseenter not works in jquery -


i have got simple script , cant figure why div doesnt show when hovering it.

$(document).ready(function (){     $(".hidden").hide();     $('.moje').mouseenter(function () {         $(".hidden").show("fast");     });   }); 

you cant find whole setup here https://jsfiddle.net/xbs75yhq/1/

class="moje" not exist in html!

try using .main

e,g,

 $(document).ready(function (){     $(".hidden").hide();     $('.main').mouseenter(function () {         $(".hidden").show("fast");     });   }); 

https://jsfiddle.net/trueblueaussie/xbs75yhq/2/


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -