IE 中 jquery 手风琴的无效参数错误 [英] invalid argument error of jquery accordion in IE

查看:26
本文介绍了IE 中 jquery 手风琴的无效参数错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jquery 手风琴抛出无效参数".IE 中的异常(我的是 IE8).

它适用于 Firefox 和 chrome.jquery手风琴与IE可能是什么问题?

这是html:

<h3><a href="#">培训</a></h3><div><ul style="list-style: none;"><li><a href="/User/Index/4">研讨会</a></li>

<h3><a href="#">会议</a></h3><div></div>

调用手风琴的js:

 $(document).ready(功能() {$("#accordion").accordion();});

错误在 jquery-1.3.2.min.js 中抛出:

{J[G]=K}return J[G]},trim:function(E){return(E||"")

解决方案

正如@mr.moses 所说,我已将 jquery 和 ui 更新到最新版本,现在运行良好.

The jquery accordion throws "Invalid argument." exception in IE(mine is IE8).

It works in Firefox and chrome. What may be the problem of jquery accordion with IE?

Here is the html:

<div id="accordion">      
   <h3><a href="#">Training</a></h3>
      <div>                
        <ul style="list-style: none;">
           <li><a href="/User/Index/4">Seminar</a></li>
        </ul>
      </div>
   <h3><a href="#">Meeting</a></h3>
      <div></div>
</div>

The js to call acordion:

 $(document).ready(
   function() {
     $("#accordion").accordion();
 });

The Error throws in jquery-1.3.2.min.js:

{J[G]=K}return J[G]},trim:function(E){return(E||"")

解决方案

As @mr.moses said, i have updated my jquery and ui to latest and it works well now.

这篇关于IE 中 jquery 手风琴的无效参数错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆