So I have a classic “more/less” paragraph here:
When I click on “More info” the link reveals some content and at the same time it switches to “Less info” but I only want this to happen to one link at a time, as I will have more paragraphs on my page. Right now when I click on the “More info” link, the other one will switch too, which is what I’m trying to avoid.
Any help appreciated!!!
Why dont you use toggle() and slideToggle()?
HTML
jQuery
Fiddle
http://jsfiddle.net/dVFaV/40/