Link to home
Start Free TrialLog in
Avatar of kbach
kbach

asked on

Tooltip attribute of <img> tag?

Is there a tooltip attribute, or some such way or easily setting a default tooltip for the object?

ie, myImage.toolTip = "Click here for more info"

I know how to make a custom tooltip using DHMTL, but I'm kind of lazy and looking for a quick fix before I do that.  Thanks.

Scott.
ASKER CERTIFIED SOLUTION
Avatar of Zyloch
Zyloch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kbach
kbach

ASKER

alt tag...that's what I was thinking of.  In IE the alt tag is the default tooltip, and I'm only coding this for IE...thanks anyway
Ok! Actually, alt is supposed to be the text that replaces the image if the image can't display. Title is the correct attribute, but to each their own :)
"correct attribute" but that doesn't mean IE will accept it as such :)), how I love standards ...