JSFiddle - React, Tailwind, and code Playground
by iii l
HTML
<form>
<input type="text" id="text" value="Номер тикета">
<button onclick="window.open('http://localhost/history&id=' + document.getElementById('text').value)"> проверить </button>
</form>