How can I display two different tooltips when mouseover a div and an image inside the div?
<div id="_div1" runat="server">
<ul>
<li class="right">
<asp:Image ID="img1" runat="server" />
</li>
</ul>
</div>
_div1.Attributes.Add("onmouseover", "javascript:ShowTooltip('divToolTip', " + tooltipText + ");");
_div1.Attributes.Add("onmouseout", "javascript:HideTooltip('divToolTip');");
img1.Attributes.Add("onmouseover", "javascript:ShowTooltipForImg('divImgToolTip'," + tooltipText1 + ");");
img1.Attributes.Add("onmouseout", "javascript:HideTooltipForImg('divImgToolTip');");
The code above is not working as expected, it only shows the div tooltip.