JSFiddle - React, Tailwind, and code Playground

by doug65536

HTML

<button>B</button>

JavaScript

jQuery(function() {
    jQuery.each(jQuery("button"), function() {
        var sort_direction = 1;
        var button = $(this);
        button.on("click", function(ev) {
            alert(1);
        });
    });
});