Bug Tracker

Opened 5 years ago

Closed 5 years ago

#10900 closed bug (wontfix)

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:


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/

Change History (1)

comment:1 Changed 5 years ago by sindresorhus

  • Component changed from unfiled to ajax
  • Priority changed from undecided to low
  • Resolution set to wontfix
  • Status changed from new to closed

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

You can easily catch it yourself.

Note: See TracTickets for help on using tickets.