JSFiddle - React, Tailwind, and code Playground

by Murat Kezli

HTML

<a id="test" href="https://google.com" target="_blank">TEST</a>

JavaScript

$(document).ready(function(){
$("#test").trigger("click");
$("#test")[0].click();
})