http://jsfiddle.net/BXNE9/1/ I want to open div through anchor point using related link. when I click the link the related div is showing but when I click on other link the previous div is also showing.
I want to open div on related link through anchor point but when I click the other link the previous div need to close. Same in all links and related divs. Please help me
You need to hide all divs in the click callback like this
Here http://jsfiddle.net/joycse06/BXNE9/2/
When user click on a link I am first hiding all divs using a $.each loop.