定在<head></head>之间
<script language="javascript" event="onkeydown" for="document">
if(event.keyCode==13)
{
document.all('Button1').focus();
document.all('Button1').click();
}
</script>
<script language="javascript" event="onkeydown" for="document">
if(event.keyCode==13)
{
document.all('Button1').focus();
document.all('Button1').click();
}
</script>