Bug Tracker


Ticket #10900 (closed bug: wontfix)

Opened 2 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:


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

comment:1 Changed 2 years ago by sindresorhus

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

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

You can easily  catch it yourself.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.