JSFiddle - React, Tailwind, and code Playground

by Bhushan Kawadkar

HTML

<a href="#jobResPage" data-role="button" data-inline="true" id="GoButton">GO</a>

<h2 id="myDiv">This is H2<h2>

JavaScript

$(function(){
        $("#GoButton").click(function(e) {
            e.preventDefault();
            $("#myDiv").html("Hello World"); 
        });
    });