Skip to main content

Bug Tracker

Side navigation

#1195 closed bug (worksforme)

Opened May 15, 2007 10:25PM UTC

Closed May 30, 2007 01:57PM UTC

Last modified June 19, 2007 10:36AM UTC

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.

Attachments (0)
Change History (2)

Changed May 18, 2007 02:04AM UTC by brandon comment:1

component: ajaxcore
summary: Form expando issueAttribute selector Form expando issue

Ahhh geez... these form expando issues just won't go away.

Changed May 30, 2007 01:57PM UTC by brandon comment:2

resolution: → worksforme
status: newclosed

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.