Helps
“We have some DOM that looks like this:
<div><span /><a /></div>. We can style theawhich follows aspanwith the CSS rulespan + a, but it appears there’s no rule to style thespanif it’s followed by ana.”
- This is more of a sad face than a help.
Interestings
As part of jQuery’s slimming down effort, in the 1.7 release non-standard event properties are no longer copied from the native event object to the jQuery event object. Certain plugins may not be aware of this change yet.
Along the lines of jQuery 1.7,
.live()is also being deprecated. Please use.on()and.off()in its place.
CSS4 has what you want:
http://www.w3.org/TR/selectors4/#subject
November 30, 2011 at 2:58 am