Edit this page

up.network up:request:aborted
DOM event

This feature is experimental. Please share your experiences so we know what to keep or change.

This event is emitted when an AJAX request was aborted.

The event is emitted on the layer that caused the request.

Also see up:fragment:aborted.


Event properties

event.request up.Request

The aborted request.

[event.layer] up.Layer optional

The layer this request is associated with.

If this request was intended to update an existing fragment, this is that fragment's layer.

If this request was intended to open an overlay, the associated layer is the future overlay's parent layer.

[event.origin] Element optional

The link or form element that caused the request.

event.preventDefault()