私はjavascriptに少し問題があります。
これは検索ボックスです:
<input id="lala" onkeypress="lala(event)" />
これはスクリプトです:
<script type="text/javascript">
function lala(e){
tecla = (document.all) ? e.keyCode : e.which;
if(tecla==13) windows.location.href = 'http://server:100/Theme/resumenInstrumento.aspx?nemo=lan';
}
</script>
JavaScriptアラートを実行すると、うまく表示されますが、URLに移動できません。