How can one select a specific sibling of a context node using jQuery? Specifically, given context node myContextNode
select the sibling span
with class myClass
.
document.evaluate("../span[@class='myClass']",
myContextNode, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).
singleNodeValue;