Anyone up for a puzzle?
I'm attempting to write a jQuery (version 1a) selector to apply a class to every A element which has a sibling UL within a particular structure: http://www.ollicle.com/eg/jquery/puzzle1.html. Had my hopes set on a relative xpath http://proj.jquery.com/docs/Base/Expression/XPath/ but have been unable to find a combination that works. The tricky bit appears to be limiting the depth to the direct children of the li. Any suggestions? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/