(1)
<script language=javascript >
function enter()
{
if(window.event.keyCode==13)
{
document.Form1.IbtnLogin.click();
}
}
</script>
(2)
onkeypress="if ((event.keyCode == 13)) event.keyCode=0;"
posted on 2007-12-04 13:43
fish的Blog 阅读(559)
评论(0) 编辑 收藏 所属分类:
JavaScript