






















<HEAD>
<script type="text/Jscript">
function KeyDownHandler(btnEnter)
{
// process only the Enter key
if (event.keyCode == 13)
{
// cancel the default submit
event.returnValue=false;
event.cancel = true;
// submit the form by programmatically clicking the specified button
btnEnter.click();
}
}
</script>
</HEAD>
引用:
<asp:textbox id="txtMachine" onkeydown="KeyDownHandler(btnFaultType)" .......
btnFaultType為運行按鈕.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。