JSFiddle - React, Tailwind, and code Playground

by goje87

HTML

<html>
    <head>
        <title> control panel</title>
    </head>
    <body>
        <input type="button" id="powerOnButton" value="Turn On" />
    </body>
</html>

JavaScript

$('#powerOnButton').bind('click', function()
                         {
                             window.parent.turnOn();
                         });