#1195 closed bug (worksforme)
Attribute selector Form expando issue
Reported by: | yehuda | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.3 |
Component: | core | Version: | 1.1.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Forms respond (possibly) incorrectly to the attribute selector.
For instance, in the following form: <form> <input id="test" /> </form>
$("form[@test]") will return the form.
This is because the form element has a "test" expando caused by its elements, and the new [@xxx] selector includes JS attributes.
This unexpected behavior would happen for any browser-created expando.
Change History (2)
comment:1 Changed 16 years ago by
Component: | ajax → core |
---|---|
Summary: | Form expando issue → Attribute selector Form expando issue |
comment:2 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
After looking at this in more detail, I've concluded that ... it is the proper behavior because the form has the property test that was created by the user when adding the input with id of test.
Note: See
TracTickets for help on using
tickets.
Ahhh geez... these form expando issues just won't go away.