JSFiddle - React, Tailwind, and code Playground

by ult_combo

HTML

<table><tr class="items"><td><input></td></tr></table>
<input>

JavaScript

alert( $('input:not(tr.items input)').length );