开发者

Label,TextBox,Asp.net

I have a label and a text box associated to it . I have added some text in开发者_开发知识库 text box which is invisible at first... now I want to display the content after I go On the label...


If you are using an HTML label rather than an ASP label, you can use the onmouseover event. From within this event, you can then turn on/off the visibility of the text.


If you want to show one textbox after typing something in another, you can use the javascript onBlur() event to show it.


using jquery it can be:

$("#MyLabel").mouseover(function(){ $("#MyTextBox").attr("visible","true"); });

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜