struck up with hide/show functionality in jquery
I have one problem. I have some divs which are as follows.

    <div>
        <div><a>more Info</a></div>
        <div><a>more segments</a></div>
    </div>
    <div>
        <div><a>more Info</a></div>
    </div>
    <div>
        <div><a>more Info</a></div>
        <div><a>more segments</a></div>
    </div>
    .......
the above is sample code. These divs are coming dynamically. Some divs consists 2 hyperlinks (just like 1st div), some consists only one hyperlink (just like 2nd div).<br/>

 1. When I click on **`moreInfo link`**, it has to display one div which consists some information. When I click on another link previous displayed div should be hidden and open appropriate div associated with that link.
 2. when I click on **`moresegments link`** ,it has to display no.of segments and `all moreInfo links` should be `disable`. Each segment consists the `moreInfo link`(segment consists the code just like 2nd div). After click on moreInfo link in each segment It has to behave like in point1. <br/><br/><p>It seems to be simple, but my mind is struck up with this. Please help me. It's urgent. Thanks in advance</p>


struck up with hide/show functionality in jquery
===

I have one problem. I have some divs which are as follows.

    <div>
        <div><a>more Info</a></div>
        <div><a>more segments</a></div>
    </div>
    <div>
        <div><a>more Info</a></div>
    </div>
    <div>
        <div><a>more Info</a></div>
        <div><a>more segments</a></div>
    </div>
    .......
the above is sample code. These divs are coming dynamically. Some divs consists 2 hyperlinks (just like 1st div), some consists only one hyperlink (just like 2nd div).<br/>

 1. When I click on **`moreInfo link`**, it has to display one div which consists some information. When I click on another link previous displayed div should be hidden and open appropriate div associated with that link.
 2. when I click on **`moresegments link`** ,it has to display no.of segments and `all moreInfo links` should be `disable`. Each segment consists the `moreInfo link`(segment consists the code just like 2nd div). After click on moreInfo link in each segment It has to behave like in point1. <br/><br/><p>It seems to be simple, but my mind is struck up with this. Please help me. It's urgent. Thanks in advance</p>

