Added support for :selected.

This commit is contained in:
John Resig 2006-08-18 04:27:57 +00:00
parent 065cd7ecf6
commit b91f8a9e30

View 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])",
"@": {