Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
Javascript Tooltip Help
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Nelson Joseph
New Member
Join Date:
Dec 2006
Posts:
14
#1
Javascript Tooltip Help
Mar 7 '08, 08:58 AM
Hai all,
How can I display a tooltip when i click the text box please help me.
Thanks in advance
- Nelson
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#2
Mar 7 '08, 09:38 AM
Search for a decent tooltip (Google "javascript tooltip") and then call it onclick.
Comment
Post
Cancel
rnd me
Recognized Expert
Contributor
Join Date:
Jun 2007
Posts:
427
#3
Mar 8 '08, 08:21 AM
setting the title attrib of the textbox displays a tooltip in a nice cross-browser manner that doesn't even require javascript to be enabled.
you could set title="", and then change the title attrib onclick if you want to hide it first...
Comment
Post
Cancel
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#4
Mar 8 '08, 11:56 AM
Good point, though if you want more control over the display/formatting, you can use DHTML tooltips.
Comment
Post
Cancel
hsriat
Recognized Expert
Top Contributor
Join Date:
Jan 2008
Posts:
1653
#5
Mar 8 '08, 12:09 PM
If not satisfied with
title
attribute, try
this
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment