Try $('ul', this)

On Feb 12, 10:14 pm, studiobl <[EMAIL PROTECTED]> wrote:
> I'm having trouble selecting descendents of "this"
>
> So, this works to initially hide uls:
> $(".treeHeader ul").toggle();
>
> But this doesn't work to toggle them:
>
> $(".treeHeader").click(function(){
> $(this +" ul").toggle();
>
> });

Reply via email to