问题
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