Bug Tracker

Opened 13 years ago

Closed 11 years ago

#117 closed bug (fixed)

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 (last modified by kswedberg)

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();

}

Change History (6)

comment:1 Changed 13 years ago by anonymous

Component: ajaxcore

comment:2 Changed 13 years ago by john

Milestone: 1.0
Type: enhancementfeature
Version: 1.0

comment:3 Changed 13 years ago by Jörn

A patch for this: http://fuzz.bassistance.de/fainawfa/jquery-117-selected-patch.txt

Not very sophisticated...

comment:4 Changed 13 years ago by john

Resolution: fixed
Status: newclosed

In SVN rev 215.

comment:5 Changed 13 years ago by Rhonda

Cc: Rhonda added
Component: 1
Keywords: Rhonda added
Milestone: 1
Priority: 1
Summary: Add a 'selected' expressionRhonda
Type: 1
Version: 1

comment:27 Changed 11 years ago by kswedberg

Cc: Rhonda removed
Component: 1selector
Description: modified (diff)
Keywords: Rhonda removed
Milestone: 11.1.4
need: Review
Priority: 1minor
Resolution: fixed
Status: reopenedclosed
Summary: RhondaAdd a 'selected' expression
Type: bug
Version: 11.1.4

re-opened by spammer. this was fixed/added a long time ago.

Note: See TracTickets for help on using tickets.