如何在asp.net c#中按下关键键 [英] How can i focus on key is pressed in asp.net c#
本文介绍了如何在asp.net c#中按下关键键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hai
在我的项目中我有两个文本框。
当我最后输入一些内容时输入键或按下(。)点键。
如何编写代码
按下点或输入另一个文本框后应该可见。
问候
Hai
In my project i am having two textboxes.
When i entered something at last enter key or (.) dot key is pressed.
How can i write a code
After pressing dot or enter another textbox should be visible.
Regards
推荐答案
您好
您可以为第一个文本框写下keypressdown事件。
谢谢
Mohan
Hi
You can write the keypressdown event for the first text box .
Thanks
Mohan
<asp:TextBox ID="txt1" runat="server" onkeypress="KeyDown()">
</asp:TextBox>
function KeyDown()
{
}
这篇关于如何在asp.net c#中按下关键键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文