Problem in short: I'm trying to make a simple show/hide toggle work on just the element you click on, while right now all (13) divs get affected by the function.
Structure of each div looks like this
<div class="selectbox">
<h5>Title</h5>
<p>
Content
</p>
</div>
With this jquery code
$('.selectbox h5').click(function(){
$('div.selectbox,p,span').toggle();
$('.selectbox').toggle();
});
So right now, the jquery works. But obviously, does its work on every "selectbox" div on the page. How can I make this work on just the element I click on, without using a unique id for every "selectbox" div?