Ticket #4409 (closed bug: invalid)
Difference between Firefox 3 and IE 6
| Reported by: | OBU | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
On this simple test, only the first "div" with id "test" is processed on Firefox 3. With IE, both are processed
Attachments
Change History
Changed 4 years ago by OBU
-
attachment
test1.html
added
comment:2 Changed 4 years ago by OBU
Thanks for your answer,
With $("#test") we have the same result on Firefox and IE, but not with $(test). Maybe it's normal, I don't know, but in any case, what is test in $(test) and why IE process it differently ? Do you think it's a problem of browser or in jQuery ?
comment:3 Changed 4 years ago by jerone
$(test) is wrong scripting. test is a variable, but in the whole document not defined. So jQuery is looking for something that doesn't exist. Why it does work on some browsers is weird.
To conclude it's not a jQuery bug, nor a browser bug, it's wrong scripting.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Html page