JSFiddle - React, Tailwind, and code Playground

HTML

<form action="http://www.google.com/search" method="get" id="quicksearch">
	        <input id="quickSearchInput" type="text" title="Search ( Type '/' )" placeholder="Search" name="q" accesskey="q" style="background-image: none; background-position: 0% 0%; background-repeat: repeat;">
	    </form>

JavaScript

jQuery(' .link ').on('click', function(event) {
  jQuery('input[name="search"]').val($(this).text().trim());
  jQuery('input[name="search"]').keyup();
});