So, it seems that there is no equivalent to querySelector in jQuery or in other libraries that I was looking at.
The workaround is to select all the relevant elements (equivalent to the SelectorAll query), and then filter the first one. This can be done using [0] (returns an html node) or as suggested by @Mutnowski with eq (0) or first (returns a jQuery object).
Christophe
source share