Copy link to clipboard
Copied
I have a working code below:
<cfoutput query="Mush2">
<tr>
td nowrap="nowrap">#DATEFORMAT(commentdate, "mm/dd/yyyy")#</td>
......some code here
<td nowrap="nowrap"><CFIF len(APPROVEDDATE)><img src="icon_checkmark.png" onmouseover="" onmouseout=""></cfif></td>
</tr>
</cfoutput>
Is it possible that when I hover over the image icon_checkmark i will be able to output the #dateapproved# in the mush2 query ?
Or do i have to end up using javascript or something else to make it happen?
Copy link to clipboard
Copied
Just add a title attribute to your <img> tag:
<img src="icon_checkmark.png" title="#Mush2.dateapproved#">
That should result in the value being visible in the tooltip.
-Carl V.