Bug Tracker

Ticket #2188 (closed bug: duplicate)

Opened 7 months ago

Last modified 4 months ago

Selector bug

Reported by: alexo Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.3 Component: core
Version: 1.2.2 Keywords:
Cc: alexandru.objelean@isdc.ro Needs: Review

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

Change History

Changed 7 months ago by scott.gonzalez

  • status changed from new to closed
  • resolution set to duplicate

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 4 months ago by flesler

Fixed at [5574], check #2548.

Note: See TracTickets for help on using tickets.