I want to change the display
of% content% to block , as it is clicking and hiding the previously clicked.
How could I do this with jQuery?
.conteudo_1 {
display: none
}
.conteudo_2 {
display: none
}
.conteudo_3 {
display: none
}
<ul>
<li><a href="">Conteudo 1</a></li>
<li><a href="">Conteudo 2</a></li>
<li><a href="">Conteudo 3</a></li>
</ul>
<div class="conteudo_1">
<p>
texto conteudo 1
</p>
</div>
<div class="conteudo_2">
<p>
texto conteudo 1
</p>
</div>
<div class="conteudo_3">
<p>
texto conteudo 1
</p>
</div>