Side navigation
#7911 closed bug (invalid)
Opened January 06, 2011 01:59PM UTC
Closed January 21, 2011 07:58AM UTC
Last modified June 11, 2012 03:47AM UTC
Jquery uses DOM before it's fully loaded [IE8 , opacity, cssHooks , style.filter]
Reported by: | rudy.l@softlution.com | Owned by: | rudy.l@softlution.com |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In IE8 Jquery tries to get the opacity of an element before the DOM is fully loaded, it seems.
Thus resulting in an error : "style.filter" is empty or not an object (see screenshot, which is in Dutch, sorry about that)
code snippet where it crashes (from jquery-1.4.4.js) :
if ( !jQuery.support.opacity ) { jQuery.cssHooks.opacity = { get: function( elem, computed ) { // IE uses filters for opacity return ropacity.test((computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "") ? (parseFloat(RegExp.$1) / 100) + "" : computed ? "1" : ""; },
On elem.style.filter .
[[Image()]]
Attachments (0)
Change History (4)
Changed January 06, 2011 02:05PM UTC by comment:1
Changed January 06, 2011 02:53PM UTC by comment:2
owner: | → rudy.l@softlution.com |
---|---|
status: | new → pending |
Thanks for submitting a ticket on this bug. Could you please also provide us with a complete example of it on [jsFiddle http://jsfiddle.net] so that our team can fully evaluate the issue you're describing?
Changed January 21, 2011 07:58AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Changed June 11, 2012 03:47AM UTC by comment:4
I come to the same problem, how do i deal with it?
[[Image(http://i52.tinypic.com/wwi7sw.png)]]