JSFiddle - React, Tailwind, and code Playground

by stevegreatrex

HTML

<form method="get" action="http://www.google.com/search">
<input type="text"   name="q" size="25" maxlength="600" value="" />
<input type="submit" value="Google Search" />
</form>

JavaScript

$(function() {
    $("input[name='q']").focus();
});