javascript - Hide div on mouseout -


I have two say 'div a' and 'div b' on mouse over DIV, DIV b should appear And should be displayed. There are some links in DIV B now I need to hide DIV B on the mouseout of this DIV B. How to fix this?

I try to hide the code.

Use of jquery

  var diva = $ ('div.a'), divb = $ ('div.b') divb.hide (); Diva.on ('mouseover', function () {divb.show ();}); Diva.on ('mouseout', function () {divb.hide ();});   



Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -