JSFiddle - React, Tailwind, and code Playground

by cfddream

HTML

<input name="test[]" type="checkbox" />
<input name="test[]" type="checkbox" />
<input name="test[]" type="checkbox" />

JavaScript

$(function() {
    alert($('input[name=test[]]').get()); // 1.4.4 not support
    alert($("input[name='test[]']").get());
    alert($('input[name="test[]"]').get());

    // 1.5 all not support
});