Bug Tracker

Opened 10 years ago

Closed 10 years ago

#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:
Blocked by: Blocking:

Description

On this simple test, only the first "div" with id "test" is processed on Firefox 3. With IE, both are processed

Attachments (1)

test1.html (775 bytes) - added by OBU 10 years ago.
Html page

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by OBU

Attachment: test1.html added

Html page

comment:1 Changed 10 years ago by jerone

Should $(test) not be $("#test")

comment:2 Changed 10 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 10 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.

comment:4 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.