Is it possible to select children of the child node of the current context in jQuery using a single expression like this?
$('~ div > span', this)
Unfortunately, this does not work for me, so I do not believe jQuery supports this type of chaining in an expression. However, I could use the following methods:
$('> span', $('~ div', this)) $(this).siblings('div').children('span')
I am looking for a way to get children from my sister using the following API call, or to explain why this is not possible:
jQuery( expression, context )
source share