JSFiddle - React, Tailwind, and code Playground

by baumrock

HTML

<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<a class="InputfieldButtonLink" href="https://www.processwire.com">
  <button class="... rt-panel" name="button" value="..." type="button" data-href="...">
    <span class="ui-button-text"><i class="fa fa-plus"></i> Open pw.com</span>
  </button>
</a>

JavaScript

$(document).on('click', 'a.InputfieldButtonLink', function(event) {
  var $el = $(event.target);
  alert('clicked');
  return false;
});