如何在选项卡索引处验证电子邮件地址 [英] How to validate email address at tab index
本文介绍了如何在选项卡索引处验证电子邮件地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好吧
我创建了一个用于验证电子邮件的功能..现在我想要在文本框中输入值后按Tab键时应该检查一下电子邮件是否有效。
请告诉我在哪个活动中我必须致电该功能..
i尝试了Keydown和textchanged事件,但我无法得到
Hi all
I have created one function for validating email..now i want that after entering the value in the textbox when i press tab it should check that the email is valid or not.
Please tell me in which event i have to call the function..
i have tried Keydown and textchanged event but i m not able to get that
推荐答案
嗨Code-Hunt,
尝试LostFocus活动,它会在这方面帮助你。
问候,
RK
Hi Code-Hunt,
Try LostFocus event, it would help you in this regards.
Regards,
RK
>
验证事件......这就是它的用途..
ATG
The Validating event... that''s what its for..
ATG
这篇关于如何在选项卡索引处验证电子邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文