jQuery: only-of-type selector
Examples
Each <p> element to select only part of their parent <p> element:
$("p:only-of-type")
try it"
Definition and Usage
: Only-of-type selector to select each element belonging to the only child of its parent element of a specific element type.
grammar
$(":only-of-type")