文本框onclick事件........... [英] textbox onclick event ...........

查看:105
本文介绍了文本框onclick事件...........的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,...我有问题,我有文本框和标签控件.当我们单击文本框时,标签将隐藏..

hi friends,... i have problem, i have textbox and label control. When we click textbox the label would be hide..

推荐答案

处理此问题的最佳方法是在客户端中,因此javascript:
处理TextBoix OnClick事件,并隐藏标签:
The best way to handle this is in the client, so javascript:
Handle the TextBoix OnClick event, and hide the label:
document.all["labHideMe"].style.display = "none";

唐"别忘了,您可能需要一种使其再次可见的方法.

Don''t forget you may need a way to make it visible again.


这篇关于文本框onclick事件...........的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆