Edit this page

up.network up:request:load
DOM event

This event is emitted before an AJAX request is sent over the network.

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

Event properties

event.request up.Request

The request to be sent.

[event.layer] up.Layer optional

The layer this request is associated with.

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

If this request is 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.


Aborts the request before it is sent.