> For the complete documentation index, see [llms.txt](https://jscula.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jscula.gitbook.io/docs/manipulation/.remove.md).

# .remove()

`.remove()` removes selected elements from the page.

***

#### Syntax

```js
$(selector*).remove();
```

***

#### Parameters

No parameters.

***

#### Output

```js
NodeList | HTMLCollection
```

***

#### Example

```js
$('.toast.expired*').remove();
```

***

#### Key Takeaway

> `.remove()` deletes selected elements from the DOM.
