Skip to main content

Bug Tracker

Side navigation

#8249 closed bug (duplicate)

Opened February 11, 2011 02:46PM UTC

Closed February 11, 2011 02:58PM UTC

Last modified February 11, 2011 02:58PM UTC

$.getScript Fails Locally in 1.5

Reported by: acarr@maark.com Owned by:
Priority: low Milestone: 1.next
Component: ajax Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

$.getScript() seems to not be executing the script or any callback methods in 1.5. When jQuery is replaced with 1.4.4 all works as expected.

The new jqXHR Object is created and does include the responseText property set with the string representation of the requested JS file but no optional return methods are fired and the response text is not executed.

Bug was reproduced in Firefox 3.6.13 on Windows 7.

Steps to reproduce:

On page load, run:

$.getScript('aScript.js');

Creating a signifier in 'aScript.js' such as an alert dialog will show in jQuery 1.4.4 but not in jQuery 1.5

Attachments (0)
Change History (2)

Changed February 11, 2011 02:58PM UTC by jitter comment:1

component: unfiledajax
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed February 11, 2011 02:58PM UTC by jitter comment:2

Duplicate of #8166.