]> source.dussan.org Git - jquery.git/commitdiff
Added support for :selected.
authorJohn Resig <jeresig@gmail.com>
Fri, 18 Aug 2006 04:27:57 +0000 (04:27 +0000)
committerJohn Resig <jeresig@gmail.com>
Fri, 18 Aug 2006 04:27:57 +0000 (04:27 +0000)
src/jquery/jquery.js

index ec9711638fa119650ca8e6c892b036c9275c0e1d..8167d1bddc8ac0cfeb886f4b3758d4847d84c1e9 100644 (file)
@@ -1029,7 +1029,8 @@ jQuery.extend({
                        // Form elements
                        enabled: "!a.disabled",
                        disabled: "a.disabled",
-                       checked: "a.checked"
+                       checked: "a.checked",
+                       selected: "a.selected"
                },
                ".": "jQuery.className.has(a,m[2])",
                "@": {