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