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.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.


Event listeners may call this method to prevent the request from being sent.

This website uses cookies to improve usability and analyze traffic.
I accept or learn more