Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2188 closed bug (duplicate)

Selector bug

Reported by: alexo Owned by:
Priority: major Milestone: 1.2.3
Component: core Version: 1.2.2
Keywords: Cc: alexandru.objelean@…
Blocked by: Blocking:

Description

Very strange bug. It breaks the selector when the 'name' attribute, contains 'name' value.

For the following markup:

<form name="formName">
      <input type="text" name="name">
</form>

the selector does returns emtpy jQuery object.

$("form[name='formName']")

The problem seems to be the 'name' attribute value. If the value would be different than 'name', it would work. For instance, for the below markup, selector works ok:

<form name="formName">
      <input type="text" name="aname">
</form>

Alex Objelean.

Change History (2)

comment:1 Changed 12 years ago by scott.gonzal

Resolution: duplicate
Status: newclosed

I believe this is the same problem as #2099. I will add a comment on that ticket referencing this one so this can be used as another test case.

comment:2 Changed 12 years ago by flesler

Fixed at [5574], check #2548.

Note: See TracTickets for help on using tickets.