---
name: "up.Request.prototype.origin"
area: "API"
kind: "Property"
parent: "up.Request class"
url: "https://unpoly.com/api/up.Request.prototype.origin"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.Request class](https://unpoly.com/api/up.Request.md)</nav>

# up.Request.prototype.origin

The element that triggered the request.

For example, when this request was triggered by a click on a link, the link element is set as the `{ origin }`.

To prevent memory leaks, this property is removed shortly after the response is received.

---

## Value {#value}

### origin {#origin}

Type: [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element)

