Skip to main content

Bug Tracker

Side navigation

#4841 closed bug (invalid)

Opened July 02, 2009 08:52AM UTC

Closed October 09, 2010 03:28AM UTC

$("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.all["test1"] : document.getElementById("test1");

test1.cmsID = "test";

var test2 = document.all ? document.all["test2"] : document.getElementById("test2");

test2.cmsID = "test2";

]]>

</script>

Attachments (0)
Change History (2)

Changed July 28, 2009 08:06AM UTC by rudimenter comment:1

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

Changed October 09, 2010 03:28AM UTC by addyosmani comment:2

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.