I have multiple divs called article which have a show/hide link to
toggle a div inside called articleBody. Problem is when I click the
link all divs show/hide.

The html structure is below:

<div class="article">
<p class="show"><a href="#">Hide [-]</a></p>
<div class="articleBody"><!-- Stuff i need to hide on click</div>
</div>

Any idea how I can change the toggle the text in show as well as just
closing that one instance of div article rather than every instance on
the page?

Thanks

Reply via email to