I had a small markup test for toggling a div .
A (working) mockup can be found here : http://jsfiddle.net/obmerk99/d78aF/1/
The problem is , that I need the Hide / Show link to be placed in ANOTHER div , like here :
http://jsfiddle.net/obmerk99/d78aF/2/
.. and when I move it , it does not work for all my efforts .
I have tried :
jQuery(this).next().next('.toggle').toggle('slow');
and
jQuery(this).next('.toggle').toggle('slow');
and many others, but it is just trial and error - whereas I would like to understand this family stuff (I guess me not being a family person is subconscensly infl;icting on my coding ability :- ) )
Speaking of understanding , In one of my trial and errors , I have made this :
http://jsfiddle.net/obmerk99/d78aF/5/
which is NOT working , but adding a small </br>
suddenly makes it work.
http://jsfiddle.net/obmerk99/d78aF/4/
Does an empty </br>
tag is considered a "sibling" ??