JSFiddle - React, Tailwind, and code Playground

by Mahendran Sakkarai

HTML

<button id='subbtn' type='submit' class='button'> Change </button>

JavaScript

$(document).ready(function(){
    $("#subbtn").click(function(){
        alert("You Clicked the subbtn");
    });
});