I have kept a Link button(Asp.net,c#) within the nested Data list.
Data list1
--> Data list2
--> Link Button
After page loaded the Tool tip script works on second hover,not in first hover.
Here is my Script:
$("[id*=LinkButton2]").live("mouseover", function () {
$("[id*=LinkButton2]").aToolTip({
fixed: true,
tipContent: document.getElementById("<%=tax_dl.ClientID%>").innerHTML
});
});
The Tool tip bounds and displays some value.
Please let me know if you need more information
Thanks in advance.
The problem is because
aToolTip()is being instantiated on the element on the first hover, and then it runs on subsequent hovers.You instead you need to attach
aToolTip()at the point you create theLinkButton2element, and not bother withlive().