I was given some very useful guidance on #jquery (thanks!)
The problem is due to the fact that the 't2-display' DIV is nested
inside others.
Since the nesting is arbitrary across my application (both in terms of
levels & classes) I'll have to take the opposite approach & label up
the DIVs to which
I want to select all labels except those within a div of a given
class, but the exclusion is ignored :/
These work fine:
$("div[class='t2-display'] label").append("Only expected ones");
$("div.t2-display label").append("Only expected ones");
These don't - all labels are selected, no matter the d
2 matches
Mail list logo