Quote:
<HEAD>
<script type="text/javascript" >
function goToSearch()
{
if (window.event.keyCode == 13)
{
Search()
}
}
function Search()
{
term = window.document.searchform.querry.value ;
location.href ="http://www.google.nl/search?q=" + term
}
</script >
</head>
<body>
<FORM name="searchform">
<input type='text' size='20' name='querry' onKeyPress="goToSearch()">
<input type='button' size='10' value='Go' onclick="Search()">
</FORM>
bla blas
bla bla
.
.
.
.
</body>
did I do somthing wrong? Oh yeah I forgot the script works fine in Explorer & Opera in case I use the button instead of the Enter-key, but that just annoying. I mean everyone is use the type somethng in the the textfield and than hit the enter-key .