Skip to main content

Bug Tracker

Side navigation

#11314 closed bug (duplicate)

Opened February 09, 2012 08:37PM UTC

Closed February 09, 2012 08:44PM UTC

Last modified February 09, 2012 08:44PM UTC

In IE, jQuery's presence causes other scripts using 'defer' to not run at all

Reported by: dave@brondsema.net Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

In IE7 and IE8, when jQuery 1.4.3 - 1.7.1 is present in a page, an unrelated script that has a defer attribute won't execute at all, if that script takes a while to load.

Example: http://brondsema.net/tmp/jquery_script_defer.html

  • jQuery 1.4.2 does not exhibit this behavior. Something introduced in 1.4.3 triggers it.
  • IE9 does not exhibit this behavior. Something was fixed in IE9
  • if the 'defer' script loads quickly (e.g. before domready or something like that), then it will execute.
  • Dynamically inserting a script DOM element that has defer=true does not exhibit this behavior. It is only when using the script tag and defer attribute in the HTML.
Attachments (0)
Change History (2)

Changed February 09, 2012 08:44PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Changed February 09, 2012 08:44PM UTC by dmethvin comment:2

Duplicate of #11310.