how to match var/id to class
- by circey
Hi. I'm new to jquery and, in addition, I think I'm having a brain freeze.
I have a number of links with different ids. I want to match the clicked link with a div with the corresponding class so the div will show/hide/toggle as appropriate.
I have:
<script type="text/javascript">
$(document).ready(function() {
$('.folioBox').hide();
…