Side navigation
#117 closed bug (fixed)
Opened August 01, 2006 07:51AM UTC
Closed January 17, 2009 07:53PM UTC
Add a 'selected' expression
Reported by: | Jörn | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.1.4 |
Component: | selector | Version: | 1.1.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In the list of form element expression a 'selected' would be useful. Like this:
// Form elements
enabled: "!a.disabled",
disabled: "a.disabled",
checked: "a.checked",
selected: "a.selected"
With this, you could do eg.
function getSelectedOptions(select) {
return $("option:selected", select).get();
}
Attachments (0)
Change History (6)
Changed August 01, 2006 07:52AM UTC by comment:1
component: | ajax → core |
---|
Changed August 06, 2006 07:21PM UTC by comment:2
milestone: | → 1.0 |
---|---|
type: | enhancement → feature |
version: | → 1.0 |
Changed August 17, 2006 08:17AM UTC by comment:3
Changed August 18, 2006 04:28AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | new → closed |
In SVN rev 215.
Changed November 10, 2006 07:08PM UTC by comment:5
cc: | → Rhonda |
---|---|
component: | → 1 |
keywords: | → Rhonda |
milestone: | → 1 |
priority: | → 1 |
summary: | Add a 'selected' expression → Rhonda |
type: | → 1 |
version: | → 1 |
Changed January 17, 2009 07:53PM UTC by comment:6
cc: | Rhonda |
---|---|
component: | 1 → selector |
description: | In the list of form element expression a 'selected' would be useful. Like this:\ \ // Form elements\ enabled: "!a.disabled",\ disabled: "a.disabled",\ checked: "a.checked",\ selected: "a.selected"\ \ With this, you could do eg.\ function getSelectedOptions(select) {\ return $("option:selected", select).get();\ } → In the list of form element expression a 'selected' would be useful. Like this: \ \ // Form elements \ enabled: "!a.disabled", \ disabled: "a.disabled", \ checked: "a.checked", \ selected: "a.selected" \ \ With this, you could do eg. \ function getSelectedOptions(select) { \ return $("option:selected", select).get(); \ } |
keywords: | Rhonda |
milestone: | 1 → 1.1.4 |
need: | → Review |
priority: | 1 → minor |
resolution: | → fixed |
status: | reopened → closed |
summary: | Rhonda → Add a 'selected' expression |
type: | → bug |
version: | 1 → 1.1.4 |
re-opened by spammer. this was fixed/added a long time ago.
A patch for this:
http://fuzz.bassistance.de/fainawfa/jquery-117-selected-patch.txt
Not very sophisticated...