JSFiddle - React, Tailwind, and code Playground

by Siddharth Jain

HTML

<a href="http://www.google.com" id="openApp">redirect</a>

JavaScript

$(document).ready(function () {
            //this shows up.
            $('#openApp')[0].click(); //this button is not clicked.
        });