文本框中的Entery键所有按钮 [英] entery key in textbox all button
本文介绍了文本框中的Entery键所有按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我按下textbox上的enter键时,那就是呼叫按钮事件,如何防止它发生?
When i press enter key on textbox , thats call button event,how to prevent it ?
推荐答案
尝试添加以下内容:
Try to add the following:
<form ... onsubmit="return false">
可以在这里找到更多信息:
http://forums.asp.net/p/1014643/1361423.aspx#1361423 [ ^ ]
祝你好运!
More can be found here:
http://forums.asp.net/p/1014643/1361423.aspx#1361423[^]
Good luck!
看看 ^ ]
这篇关于文本框中的Entery键所有按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文