JSFiddle - React, Tailwind, and code Playground
by jitter
HTML
<script src="http://code.jquery.com/jquery-1.5rc1.js"></script>
<input type='text' name='foo[bar]'>
JavaScript
$(function() {
$(document.body).append( jQuery.fn.jquery + ': ' + $(':input[name$=[bar]]').length );
});