JSFiddle - React, Tailwind, and code Playground

by rajaadil

HTML

<input type="hidden" value="" name="participants[1][canceled]">
<input type="hidden" value="" name="participants[2][canceled]">
<input type="hidden" value="" name="participants[3][canceled]">

JavaScript

alert(jQuery('[name*=participants]').length);