I have this jquery
$(window.document.location).attr('href', '/gerenciarpdv');
And this button calls this page
<button id="teste1" name="teste" class="btn-pesquisa" onclick="ChamaGerencia();">GerenciarPDV</button>
The problem is that the page is being displayed on another tab. How to avoid this?