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 the cursor moves on the label... plz give me the code for the same..
A:
You can use onmouseover and onmouseout event on the label. If you can use a framework like jQuery you can use the hover function.
See a working demo.
rahul
2010-03-29 10:28:45
its a really good example...
vishal
2010-03-29 11:02:10
A:
This is to handle on mouse move in client side javascript.
Use label onmousemove event to trap the event, and set textbox visibility to true. [You can easily write the code for yourself]
Cheers
Ramesh Vel
2010-03-29 10:29:32