views:

45

answers:

3

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...

+1  A: 

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.

Ardman
Yes I am Using the HTML label . Can You Give me The Code For The Same.
viahal
Take a look here : http://forums.asp.net/t/1633.aspx
Ardman
A: 

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

TheGeekYouNeed
A: 

using jquery it can be:

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

Stremlenye