UFrame在jquery-1.6.2中不起作用 [英] UFrame not working in jquery-1.6.2

查看:54
本文介绍了UFrame在jquery-1.6.2中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Uframe在jquery-1.2.3中起作用,但在jquery-1.6.2中不起作用

The UFrame works in jquery-1.2.3 but not in jquery-1.6.2

您可以在此处获取源代码...

you can get the source here...

http://www.codeproject.com/KB/aspnet/uframe.aspx

我在第513个字符9处出现错误

i'm having an error in line 513 char 9

w/c是

enter code here $('div [@src]',document).each(function()

enter code here$('div[@src]',document).each(function()

在UFrame.js文件中

in file UFrame.js

但是当我研究jquery-1.6.2.js中的功能时

but when i look into the function... in jquery-1.6.2.js

功能

each: function (callback, args) {
                return jQuery.each(this, callback, args);
            }

也存在...我在哪里出错了?

exists too... where did i go wrong?

推荐答案

jQuery删除了较新版本中属性的'@'前缀.只需从UFrame.js中删除所有出现的"@".

jQuery got rid of the '@' prefix for attributes in newer versions. Just remove every occurrence of '@' from UFrame.js.

这篇关于UFrame在jquery-1.6.2中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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