English 中文(简体)
IE Invalid case with jquery
原标题:IE Invalid argument with jquery

I have a portlet application that works flawlessly in Firefox and Chrome, but is bombing out in IE 8 and 9, BUT only if I have 5 or more instances of the portlet on the portal page. If there are 4 or less instances of the portlet on the page, it works fine in IE too.

The error I see when I have 5+ instances of the portlet on the page is:

SCRIPT87: Invalid argument. jquery-1.5.2.min.js, line 16 character 25442

该法典使用jQuery和少数pl,即jqGrid。 这里是我迄今为止为解决这一问题所尝试的,其中没有任何一项改变:

  1. Upgraded the jQuery and jQuery-UI libraries. The code uses 1.5.2 and 1.7.2 respectively. Upgrading to the latest versions made no difference.
  2. Upgraded the jqGrid library. The code uses version 4.1.2. Upgrading to 4.3.2 made no difference.
  3. Upgraded the bgiframe plug-in. The code uses version 2.1. Upgrading to 2.1.3 made no difference.

由于独立实体是独立实体,很难想象正在发生什么。

是否有任何人先看到这种行为,或对可能发生的事情有任何想法?

最新资料:

在大韩民国,我已经用未经排雷的卷宗取代了jQuery档案的精彩版本。 这里的错误是,我在第8版的网页上有5+小页:

Message: Invalid argument.
Line: 2105
Char: 5
Code: 0
URI: https://nasa-iceint.nasa.gov/portal/ice-theme/js/jquery-1.5.2.js

这里是贵族档案中的相关法典:

if ( set ) {
                // convert the value to a string (all browsers do this but IE) see #1070
                elem.setAttribute( name, "" + value );
            }

任何想法?

最佳回答

我在此指出,情况是错误的。 由此可见,如果已经装满许多特别安全分遣队,将一个特别安全分遣队的档案装上电子安全分遣队便会引发问题。 见。 E

希望这会帮助那些遇到同样问题的其他人。

问题回答

也许,你的网页是增加一个尚未形成起来的智者。

var jsonThatWorksOnFirefoxAndChrome = {
    first:"ok",
    last: "not ok, remove the comma after this string to fix it",
}

Chrome和 Firefox只会忽视最后 com。

检查 j冲突,确保你只包括一版 j,只有一次。





相关问题
Image rendered with wrong colors in IE8

I have a gradient image as a PNG (no transparency) in a web-page. By taking a screenshot of Chrome showing the page and cropping the image from the page, I see the exact same colors are drawn as the ...

Determine Mobile Internet Explorer version

I need to determine the version of Mobile Internet Explorer on a Windows Mobile 6.1 device. So that I can report the same user-agent string as is being used by Mobile Internet Explorer. The user-...

CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

Internet Explorer only part loading JavaScript/CSS

I m having trouble with my local development environment where IE (6 through to 8) is only part loading JavaScript/CSS files. It throws random errors at random places in jquery.min.js every time I ...

IE doesn t run Javascript when you click back button

I ve built a shop with tons of JS running. One of the pieces of the cart, is a zip code field which is required to calculate shipping cost. This works fine going through the cart. Now clicking ...

热门标签