JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
<head>

</head>
<body>

<p> Click me</p>

</body>
</html>

JavaScript

$("p").click( function (event, a, b) {
/*console.log(a);
console.log(b);*/
    alert(a + " " + b);
} ).trigger("click", '');