UFrame not working in jquery-1.6.2

柔情痞子 提交于 2019-12-11 11:13:57

问题


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

i'm having an error in line 513 char 9

w/c is

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

in file UFrame.js

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

the function

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

exists too... where did i go wrong?


回答1:


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



来源:https://stackoverflow.com/questions/7303515/uframe-not-working-in-jquery-1-6-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!