JSFiddle - React, Tailwind, and code Playground

by TheJoeFletch

HTML

<input type="text" name="r1" />

JavaScript

alert($("[name=r1]").length)