JSFiddle - React, Tailwind, and code Playground

by bniya_dev

HTML

<input id="inputID1" value="click me" type="button" />
<input id="inputID2" value="click me again!" type="button" />

JavaScript

$("#inputID1").click(function()
                     {alert("inputID1 click");
                     $("#inputID2").click(function()
                                  {alert("again");});
                     }
                    );