Bug Tracker

Modify

Ticket #4409 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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

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

Change History

Changed 4 years ago by OBU

Html page

comment:1 Changed 4 years ago by jerone

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

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.

comment:4 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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.