JSFiddle - React, Tailwind, and code Playground

by Witcher42

HTML

<a class="js-a1" href="new.html" target="_blank">this is a link</a>
 <a class="js-a2" href="another.html" target="_blank">this is another link</a>

JavaScript

$('.js-a1').click(function () {
    $('.js-a2').click();
    return false;
});