X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=8cffb8e876ddbb4e7e46f0203c011c0e977936cb;hb=42785b1c1dbdb51e798de90720a164731f495e44;hp=d3ed8c6ee7799235f8f884a0abe8869789a0a4d3;hpb=0e540ec1b170c11cab11045b4965a927cb44ee34;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index d3ed8c6..8cffb8e 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1418,7 +1418,7 @@ jQuery.extend({ enabled: "!a.disabled", disabled: "a.disabled", checked: "a.checked", - selected: "a.selected || jQuery.attr(a, 'selected')", + selected: "a.selected", // Form elements text: "a.type=='text'", @@ -1570,7 +1570,8 @@ jQuery.extend({ value: "value", disabled: "disabled", checked: "checked", - readonly: "readOnly" + readonly: "readOnly", + selected: "selected" }; // IE actually uses filters for opacity ... elem is actually elem.style