jQuery v1.6 change you should know about
jQuery v1.6 release has been announced for May 1st and it will include rewritten internal method jQuery.attr and the addition of jQuery.prop. That will bring a solid performance improvement, a modularized implementation, and a cleaner way of dealing with attributes but this rewrite will confuse some people who have been using jQuery.fn.attr for cases for which it was not intended, but have always worked. Read more details about this on Timmy Willsons’s blog (jQuery Core Bug team member) and check performance increase by the numbers.
$("div").attr("id", "holder"); // OK $("video").attr("autofocus", true); // OK $(window).attr... // NO $(document).attr... // NO