htmx 4.0 is under construction — migration guide

hx-ignore

Disable htmx processing for element

The hx-ignore attribute disables htmx processing for an element and all its children.

Syntax

<div hx-ignore> <!-- htmx will not process any attributes here --> </div>

The value of the tag is ignored, and it cannot be reversed by any content beneath it.