Bug Tracker

Opened 10 years ago

Closed 9 years ago

#4841 closed bug (invalid)

$("div[cmsID]") where "cmsID" is expando dont work in Firefox 3.5

Reported by: rudimenter Owned by: john
Priority: low Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: firefox 3.5 expando attribute Cc:
Blocked by: Blocking:

Description

I just updated firefox to 3.5. I use a hover Event for the following JQuery selector $("div[cmsID]"). It worked in the previous Firefox.

The Bottomline is the Elements get not more selected.

The Expando is registered via Javascript at runtime: <script type="text/javascript"> <![CDATA[ var test1 = document.all ? document.alltest1? : document.getElementById("test1"); test1.cmsID = "test"; var test2 = document.all ? document.alltest2? : document.getElementById("test2"); test2.cmsID = "test2"; ]]> </script>

Change History (2)

comment:1 Changed 10 years ago by rudimenter

Embarrassing, Embarrassing.

But i figured out that Firefox (and JQuery) behaves actually correct. The Expando is registered after the JQuery call. Son no chance for JQuery to recognize the Expando stuff.

But its still strange that IE6 runs the JQuery Code (registered in a js file not inline in html) after the Expando registration (registered inline in html)

Strange

comment:2 Changed 9 years ago by addyosmani

Priority: criticallow
Resolution: invalid
Status: newclosed

As the original poster has mentioned that this bug is not actually due to jQuery, I am closing this ticket as invalid.

Note: See TracTickets for help on using tickets.