Bug Tracker

Modify

Ticket #2188 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

Selector bug

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

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

comment:1 Changed 5 years ago by scott.gonzal

  • 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.

comment:2 Changed 5 years ago by flesler

Fixed at [5574], check #2548.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.