代码如下:
1<script language="javascript" for="document" event="onkeydown">
2 if (event.keyCode == 13)
3 {
4 document.getElementById("btnShow").click();
5 }
6</script>
2 if (event.keyCode == 13)
3 {
4 document.getElementById("btnShow").click();
5 }
6</script>