Try $("li", this) - it says "look in the context of this for all li
elements."
-- Josh
----- Original Message -----
From: "Philboi" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Thursday, January 17, 2008 9:37 PM
Subject: [jQuery] Selectors with this keyword
Hi Guys,
What im after is using selectors with the 'this' keyword. I imagine
this is a fairly common example, but I cant seem to get the syntax
right. Example:
$("ul:has(li)") except i want to use something like: $(this:has(li))
Thanks