Take a look at the jQuery UI Accordion plugin. http://ui.jquery.com
On Apr 13, 6:30 am, HISSAM <[email protected]> wrote: > Hey I'm new to JQuery > > I have 5 divs > At a time only 1 div should be expanded the others must be hidden > > I'm using the show and hide function > But I want to function parameterised to open the respective div and > hide the other which is open > > How do I go about ??

