I’m using css to hide content that I want to reveal when a person clicks a link. There are multiple instances on the page.
I’ve set up an example but currently clicking any of the links reveals all of the content.
http://jsfiddle.net/paulyabsley/rHD43/
Thanks
Use
.siblings()to find an element with the classdetailsthat is a sibling of the link’s parent element.DEMO