hx-params

The hx-params attribute allows you to filter the parameters that will be submitted with an AJAX request.

The possible values of this attribute are:

  <div hx-get="/example" hx-params="*">Get Some HTML, Including Params</div>

This div will include all the parameters that a POST would, but they will be URL encoded and included in the URL, as per usual with a GET.

Notes