Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tooltips for textarea fields

Status
Not open for further replies.

SpeedyDuh

Technical User
Jan 7, 2005
5
FI
I'm trying to figure out how to make tooltip appear next to textarea when user starts typing into it, i presume i have to use onChange to catch it, but how to make the tooltip appear where i want it to?
All the tooltip examples and tutorials out there make the tip be attached to your mouse cursor and that's not useful in my page.
 
You would need to create a DIV (or a SPAN will do if its just a line of text) with visibility set to hidden. Change the visibility to visible on the onChangeEvent or maybe onFocus would be better?

You can position the DIV/SPAN anywhere you like on your page.

Tony
________________________________________________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top