JSFiddle - React, Tailwind, and code Playground

by doug65536

HTML

<input type="checkbox" checked>
<input type="checkbox">
<button>test</button>

JavaScript

$(function () {
    $('button').on('click', function () {
        debugger;
        var x = $(':input');
        x = x;
    });
});