They cover window and resource lifecycle: error when an image fails to load, resize when the viewport changes size, and scroll when window or overflow elements move. Bind them with .on() like other jQuery events.
Prefer .on('resize', handler) and .trigger('resize'). The .resize(), .scroll(), and .error() shorthands are deprecated or removed in modern jQuery—migrate to the .on() / .trigger() forms.
No. Element error (broken images) is different from window script errors. Use window.onerror or addEventListener('error', ...) for uncaught exceptions—not $(window).on('error').
Bind before setting src, then swap to a known-good fallback URL. Use .one('error') or remove the handler after the swap so a bad fallback cannot retrigger forever.
Start with the error event for broken images, then resize and scroll. Prefer .on() bindings over the legacy shorthands.