JSFiddle - React, Tailwind, and code Playground

by CME64

HTML

<div id="theDiv" onclick="$(this).mySuccessFunction();">click me</div>

JavaScript

$('#theDiv').__proto__.mySuccessFunction = function(){ console.log('I Executed!');};