Note that there are some explanatory texts on larger screens.

plurals
  1. POjava script error with jquery tool tip on IE 10
    primarykey
    data
    text
    <p>I have the following code that runs well on all the browsers except on IE 10.</p> <p>I am running my code in Visual Studio, .NET framework 4.0. I just recently updated to IE 10.</p> <p>Java Script Code</p> <pre><code>$(function () { var du = 1000; var tooltip; $(document).tooltip({ show:{effect:'slideDown'}, hide:{effect:'explode',pieces:20,duration:du,delay:du/100}, track: true, items: "h5", content: function () { tooltip = $(this).siblings('.tooltip'); return tooltip.html(); } }); }); </code></pre> <p>aspx Code : </p> <pre><code>&lt;asp:Repeater ID="rpt" runat="server" OnItemCommand="rpt_ItemCommand" OnItemDataBound="rpt_OnItemDataBound"&gt; &lt;ItemTemplate&gt; &lt;asp:Panel ID="Pnl" runat="server"&gt; &lt;div class="tooltip" style="display: none"&gt; &lt;div style="text-align: center; font-weight: bold;"&gt; &lt;%# Eval("Name") %&gt;&lt;br /&gt; &lt;/div&gt; &lt;table align="center"&gt; &lt;tr&gt; &lt;td&gt; &lt;div style="font-weight: normal"&gt; Calls &lt;/div&gt; &lt;/td&gt; &lt;td&gt; &lt;div style="font-weight: normal"&gt; Success &lt;/div&gt; &lt;/td&gt; &lt;td&gt; &lt;div style="font-weight: normal"&gt; Error &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;div style="text-align: center; font-weight: normal"&gt; &lt;%# Eval("TotalCalls")%&gt; &lt;/div&gt; &lt;/td&gt; &lt;td&gt; &lt;div style="text-align: center; font-weight: normal"&gt; &lt;%# Convert.ToInt32(Eval("TotalCalls")) - Convert.ToInt32(Eval("ErrorCalls"))%&gt; &lt;/div&gt; &lt;/td&gt; &lt;td&gt; &lt;div style="text-align: center; font-weight: normal"&gt; &lt;%# Eval("ErrorCalls")%&gt;&lt;br /&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;div style="text-align: center; font-weight: normal"&gt; Success Rate = &lt;%# ((decimal)Eval("PassPercentage") == -1) ? "0.0 %" : Eval("PassPercentage") + "%"%&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;/asp:Panel&gt; &lt;/ItemTemplate&gt; &lt;/asp:Repeater&gt; </code></pre> <p>I get the following error : </p> <pre><code>JavaScript runtime error: Object doesn't support property or method 'tooltip' </code></pre> <p>Is there a way I can resolve the error ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload