i got the error in tooltip example tooltip is not a function for jquery.tooltip.min.js file? plz reply
/******** this is javascript code for tooltip******/
<script type="text/javascript">
function InitializeToolTip() {
$(".gridViewToolTip").tooltip({
track: true,
delay: 0,
showURL: false,
fade: 100,
bodyHandler: function () {
return $($(this).next().html());
},
showURL: false
});
}
</script>
/*******html**********/
<asp:GridView ID="acntGrid" runat="server" AutoGenerateColumns="false"
CssClass="table table-condensed table-bordered" EmptyDataText="No Data Found"
OnRowDataBound="acntgrid_RowDataBound" OnRowCreated = "OnRowCreated" OnDataBound = "OnDataBound" >
<Columns>
<asp:TemplateField HeaderText="Voucher">
<ItemTemplate>
<asp:LinkButton ID="lnkEmployeeId" Text='<%# Eval("Voucher")%>' Class="gridViewToolTip"
runat="server" />
<asp:Repeater ID="rptLeaves" runat="server">
<HeaderTemplate>
<div id="tooltip" style="display: none;">
<table>
<tr>
<th align="center">
<b>Type</b>
</th>
<th align="center">
<b>Name</b>
</th>
<th align="center">
<b>doc no</b>
</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<%# Eval("Type")%>
</td>
<td>
<%# Eval("Name")%>
</td>
<td>
<%# Eval("Doc_No")%>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table> </div>
</FooterTemplate>
</asp:Repeater>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
this is gridview where i want a tooltip on Doc_No datafield.