selectOob

const val selectOob: String(source)

"hx-select-oob" select content to swap in from a response, somewhere other than the target (out of band).

<div>
<div id="alert"></div>
<button hx-get="/info"
hx-select="#info-details"
hx-swap="outerHTML"
hx-select-oob="#alert">
Get Info!
</button>
</div>

htmx.org/attributes/hx-select-oob/