That's perfect, thanks for that - the second example works a treat.

osu


On Sep 24, 7:10 pm, Andi23 <dowhatyouw...@gmail.com> wrote:
> In that case, you can just remove the href attribute of the link(s):
> $("li ul").siblings("a").removeAttr("href");
>
> or, if you want to leave in the href attribute for future use?, you
> can do this:
> $("li ul").siblings("a").click(function(){
>     return false;
>
> });
>
> good luck-

Reply via email to