Skip to main content

Bug Tracker

Side navigation

#10900 closed bug (wontfix)

Opened November 26, 2011 12:35PM UTC

Closed December 05, 2011 12:18PM UTC

jQuery.load() stops executing inline scripts on error

Reported by: Finn Owned by:
Priority: low Milestone: None
Component: ajax Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

If an inline script block loaded with .load() encounters an error, all subsequent script blocks in the loaded HTML are skipped.

Fiddle here: http://jsfiddle.net/Q8uVw/

Attachments (0)
Change History (1)

Changed December 05, 2011 12:18PM UTC by sindresorhus comment:1

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

jQuery won't and shouldn't catch exceptions for you.

You can easily catch it yourself.