I have link and on hover it should display the div when leave cursor form div and link it should hide div.
Updated as per your comments:
$("#show_div").hover(function(){ $("#dropcart").fadeIn(); }); $("#dropcart").mouseleave(function(){ if($("#show_div").is(':hover') === false) $("#dropcart").fadeOut("fast"); });
demo