diff --git a/jquery/jquery.js b/jquery/jquery.js index c377f63d5..4f92ce2bb 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -643,7 +643,7 @@ $.attr = function(o,a,v){ a = a.replace(r,function(z,b){return b.toUpperCase();}); if ( typeof v != 'undefined' ) { o[a] = v; - if ( o.setAttribute ) { + if ( o.setAttribute && a != 'disabled' ) { o.setAttribute(a,v); } }