---
name: "up.element.show"
area: "API"
kind: "JavaScript function"
parent: "up.element module"
url: "https://unpoly.com/api/up.element.show"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.element module](https://unpoly.com/api/up.element.md)</nav>

# up.element.show(element)

Shows the given element.

Also see [`up.element.hide()`](https://unpoly.com/api/up.element.hide.md) and [`up.element.toggle()`](https://unpoly.com/api/up.element.toggle.md).

## Limitations {#limitations}

The element is shown by removing the [`[hidden]`](https://unpoly.com/api/hidden.md) attribute set by [`up.element.hide()`](https://unpoly.com/api/up.element.hide.md). If the element is hidden by an inline style (`[style="display: none"]`), that inline style is also removed.

You may have CSS rules causing the element to remain hidden after calling `up.element.show(element)`. Unpoly will _not_ handle such cases to keep this function performant. As a workaround, you may manually set `element.style.display = 'block'`.

---

## Parameters {#parameters}

### element {#element}

(required)

The element to show.

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

