JSFiddle - React, Tailwind, and code Playground

by Timmy Willison

HTML

<input name="field[0]" type="text">

JavaScript

console.log('selected: %b', !!$('input[name="field[0]"]').length);