I have 3 show more links in my layout. They must trigger all the same table with content. So when you click on link 1 it shows the table, but if you click on link 2 the table won’t be hidden again (only when I click 2 times).
How can I fix this?
My code I have now:
$(".starterlink").toggle(
function(){ $(".starterinfo").fadeIn('fast'); },
function(){ $(".starterinfo").fadeOut('fast'); }
);
If I understand your question correctly, why don’t you do something like:
Updated:
The following test code works fine for me.