Skip to main content

Bug Tracker

Side navigation

#2188 closed bug (duplicate)

Opened January 18, 2008 02:52PM UTC

Closed January 18, 2008 03:48PM UTC

Last modified May 13, 2008 12:40AM UTC

Selector bug

Reported by: alexo Owned by:
Priority: major Milestone: 1.2.3
Component: core Version: 1.2.2
Keywords: Cc: alexandru.objelean@isdc.ro
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.

Attachments (0)
Change History (2)

Changed January 18, 2008 03:48PM UTC by scott.gonzal comment:1

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.

Changed May 13, 2008 12:40AM UTC by flesler comment:2

Fixed at [5574], check #2548.