Question about jquery code [closed]

-4

asked by anonymous 07.04.2014 / 20:54

1 answer

3

The problem is in code $(".div_2").css("display", "nome"); , you meant none .

In addition, see that jQuery has convenient methods for displaying and hiding elements, respectively .show () and .hide () :

$(".div_1").show();
$(".div_2").hide();
    
07.04.2014 / 20:58