I have a list of divs that I would like to display one at a time when
a link is clicked.  How would I do this with jQuery?

<a href="#">Show another</a>
<div>Content 1</div>
<div style="display:none;">Content 2</div>
<div style="display:none;">Content 3</div>
<div style="display:none;">Content 4</div>
<div style="display:none;">Content 5</div>
<div style="display:none;">Content 6</div>

What I would like to do is reveal the next div in the list when the
"Show another" link is clicked, allowing the user to reveal all of the
divs, or just a few.

Reply via email to