Hi Bhaarat,
I'm not sure what the setCookie() function, but I'm guessing that the
problem lies in what you're doing inside $('#menu li a').click(). It
looks like you're attaching a click handler to all of the menu links
that attaches a click handler to the clicked link. A simplification of
*dope*
nevermind..got it. just calling the fucntion directly ,...
On Jan 29, 11:01 am, Bhaarat Sharma <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have the following snippet to expand/collapse menu items and set the
> cookie as well.
>
> function initMenu() {
> $('#menu ul').hide();
> if ($.cook
2 matches
Mail list logo