[jQuery] Open a particular menu in accordion based on value passed to it
Hi All,
I am using JQuery accordion to create a menu box , my problem is that
say if I have 4 containers (Divs/menu ) and at runtime I want to open
one of them depending upon the variable passed.
I know using the option "active:2" will open the 2nd container but can
anyone please tell me what is the syntax to set it dynamically...
for example ,If i have something like this ...
Menu 1
a
b
Menu 2
c
d
Menu 3
e
f
now If I want to open Menu 2 depending upon some value passed , how do
we do that ?