JSFiddle - React, Tailwind, and code Playground
HTML
<div data-dojo-id="graphContainer" id="graphPane" data-dojo-type="dojox/layout/FloatingPane" title="Graphs" resizable="true"
closable="false" dockable="false" style="width: 880px; height: 350px; left: 300px; top: 100px; overflow: scroll ; z-index: -1">
<div id="controlDiv" style="position: absolute; left: 10px; top: 25px;">
<input data-dojo-type="dijit/form/FilteringSelect" class="floatingSelectInput" data-dojo-id="graphComponentSelect" id="graphComponentSelect"
autocomplete="false" required="false" highlightmatch="all" style="overflow: auto; display:none;
...
JavaScript
(function() {
var myObject = {
onPing: function() {
alert("works");
}
};
document.getElementById('pingButton').onclick = myObject.onPing;
}());