Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11394 closed bug (invalid)

Long delay with multiple selector (including id selector) in Internet Explorer 6

Reported by: arnoschaefer Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

I will try to post a new bug report, since my old one (#11313) was automatically closed because the system (not a person) thought I had not provided enough information - I disagree.

Next try:

http://jsfiddle.net/arnoschaefer/RpUp4/

Between a and b there is a delay of over one minute in Internet Explorer 6. Between b and c there is no delay.

Change History (5)

comment:1 Changed 8 years ago by dmethvin

Attributes with special characters must be quoted, per the documentation. There is no need for the ^= (begins with) operator either, since your selector is an exact match.

comment:2 Changed 8 years ago by mikesherov

this selector is malformed: $('input[name^=form\\[ust]'

You're missing a second closing bracket, in addition to the other comments @dmethvin mentioned.

comment:3 Changed 8 years ago by dmethvin

Resolution: invalid
Status: newclosed

comment:4 Changed 8 years ago by arnoschaefer

I am sorry, I don't quite understand.

I am trying to match an input element whose name attribute starts with "form[ust". In order to be able to use a [ in the selector, I quote it with a double backslash, so this is my selector:

'input[name^=form\\[ust],#form-steuerbetrag'

Is this incorrect? What would be the correct selector for

-> name starts with "form[ust"

?

In any case, it appears that the IE6 problem in fact has something to do with a missing closing bracket, as this selector does not exhibit the same problem:

'input[name^=form\\[ust\\]],#form-steuerbetrag'

comment:5 Changed 8 years ago by dmethvin

This seems to work fine for me,

http://jsfiddle.net/dmethvin/RpUp4/3/

Please ask questions on a forum or IRC channel rather than filing bug reports. The concern I have with answering questions on the bug tracker is that it will only encourage others to abuse the bug tracker as a support forum.

Note: See TracTickets for help on using tickets.