Ticket #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: | ||
| Blocking: | Blocked by: |
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
comment:2 Changed 15 months 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 15 months ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
comment:4 Changed 15 months 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 15 months 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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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.