JSFiddle - React, Tailwind, and code Playground

by andypaxo

HTML

<form action='http://google.com'>
    <input type='submit' value='Go'/>
</form>

JavaScript

$('form').submit (function() {
    $(this).attr('target', '_blank');
});