JSFiddle - React, Tailwind, and code Playground

HTML

<table align="center" cellpadding="6" border="0">
                            <thead>
                                <tr align="center" class="tituloTabela">
                                    <td colspan="2">Pesquisar Servidor</td>
                                </tr>
                            </thead>
                            <tbody>
                                <tr align="center" class="linhaImpar">
                                    <td>
                                        <input type="text" id="txtPesquisaServidor" placeholder="Digite a matrícula SIAPE ou nome" style="width: 250px;"/>
                                    </td>
                                    <td>
                                        <button id="btPesquisarServidor" type="button" class="botaoPesquisa botaoVerde">OK</button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

JavaScript

// não deixa dar submit no form com <enter>
$(document).ready(function() {
    $(window).keydown(function(event){
        if(event.keyCode == 13) {
            event.preventDefault();
            return false;
        }
    });
});

$('#btPesquisarServidor').click(function() {
    var termoPesquisa = $("#txtPesquisaServidor").val();
    if(termoPesquisa){
        $.get("controle.php?acao=buscarServidor&termoPesquisa="+termoPesquisa, function(){
            location.reload(true);
        });
    }
});