IE7中的奇怪问题只有在任何其他浏览器 [英] Weird issue in IE7 Only not in any other browser
问题描述
这是一个简单的HTML,
拥有jquery-ui(1.10)和jquery(1.9.1)。它工作正常在IE8,9,firefox和Chrome只有在IE 7
¥b $ b HTML有如下所示。我不知道是什么,在哪里是from $ $ $ $ $这个代码不是在那里,当我看到这个HTML在IE8,9,Firefox和chrome
It is a simple HTML ,
i have jquery-ui(1.10) and jquery (1.9.1) . it works fine in IE8,9 ,firefox and in chrome only in IE 7
HTML has something like below. I have no idea what that is and where that is from
this piece of code is not there when i see this HTML in IE8,9 , Firefox and chrome
sizzle-1367496452938="[object Object]
和所有div标记注入
jQuery191030626454110549073="6"
这里是html看起来像这样的一部分。任何人都知道这个问题是什么?
Here is some part of the html look like this.Anyone knows what is this issue is?
<html sizzle-1367496167699="[object Object]">
<div class="container" id="container2"
sizzle-1367496452938="[object Object]">
<div class="arrow-left" id="wppanelstatus"
style="width: 1%;" jQuery191030626454110549073="6"/>
UPDATE
我不使用sizzle javascript选择器库
UPDATE
I am NOT using sizzle javascript selector library
推荐答案
用于在IE中附加事件处理程序等。
This is what jQuery uses to attach event handlers etc in IE.
它被称为expando。它只是一个字符串,基本上是'jQuery'+时间戳(本质上是一个唯一的值)。
It's called an expando. It's just a string which is basically 'jQuery' + timestamp (in essence a unique value).
和jQuery取决于sizzle所以你肯定使用它....
And jQuery depends on sizzle so you are definitely using it....
您可以在这里阅读更多:
jQuery属性自动添加到元素
You can read more here: jQuery attribute auto added to elements
这篇关于IE7中的奇怪问题只有在任何其他浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!