Ho provato anche come mi ha detto te, ma apre tante finestre quante sono le volte che clicco sul pulsante ricerca, provo a postare il codice del form:
codice:
<form action="/wfprog/WebWork.exe" name="SearchHeader" method="post" ID="SearchHeader" style="margin:0px;padding:10px;">
<input name="SearchText" id="SearchText" type="text" class="label">
<input type="submit" class="button" onClick="return Veriform();" value="cerca" />
</form>
e la funzione veriform()
codice:
function Veriform(){
window.open('','ricerca','width=800 height=600 scrollbars=yes resizable=yes');
document.forms['SearchHeader'].target = 'ricerca';
document.forms['SearchHeader'].submit();
return false;
}