JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-2.2.1.min.js"></script>
<a href="#" id="one" class="disableClick">this should be disabled button</a>
<br />
<a href="#" id="two">click button 2</a>
CSS
.disableClick {
pointer-events: none;
color: grey;
}
JavaScript
$(document).ready(function() {
$('#one').click(function () {
alert("Link one clicked!");
});
$("#two").click(function () {
$("#one").trigger("click");
});
});