以下代码在 IE 10 上生成错误。它适用于所有其他浏览器。
JavaScript
$(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();
}
});
});
象素
<div class="tooltip" style="display: none">
<div style="text-align: center; font-weight: bold;">
<%# Eval( "Name") %>
<br />
</div>
<table align="center">
<tr>
<td>
<div style="font-weight: normal">Calls</div>
</td>
</tr>
</table>
</div>
有没有人可以尝试任何解决方案或解决方法?
它抛出的错误是:
JavaScript 运行时错误:对象不支持属性或方法“工具提示”