It depends on the markup. This is selector for that click:
":has(>ul):not(:has(>a))").find(">span")

So remove or replace the span on the parent item.

Jörn

On Thu, Nov 13, 2008 at 4:06 PM, Dominik Deobald <[EMAIL PROTECTED]> wrote:
>
> I'm using treeview in one of my projects.
>
> Treeview automatically opens and closes the subtree if you click on an
> item that contains children. I need the option to allow the user to
> select an item without closing the subtree.
>
> + item 1          <- User clicks here
> |  + item 1.1
> |  + item 1.2
> + item 2
>
> item 1.1 and 1.2 should not disappear.
>
>
> Is there a simple way to achieve that? Any help appreciated.
>
>
> Thanks,
>  Dominik
>

Reply via email to