【问题标题】:jquery tool tip doesnt work in ie 10jquery 工具提示在 ie 10 中不起作用
【发布时间】:2013-09-18 20:04:14
【问题描述】:

以下代码在 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();
        }
    });
});

aspx

<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 运行时错误:对象不支持属性或方法“工具提示”

【问题讨论】:

    标签: javascript jquery asp.net jquery-ui


    【解决方案1】:

    对于面临同样问题的任何人 将 Jquery 引用更改为最新版本 1.10.3 解决了该问题。

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
    

    【讨论】:

      猜你喜欢
      • 2023-03-16
      • 1970-01-01
      • 1970-01-01
      • 2017-07-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-30
      相关资源
      最近更新 更多