--- layout: layout.njk title: htmx - hx-params --- ## `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: * `*` - Include all parameters (default) * `none` - Include no parameters * `not ` - Include all except the comma separated list of parameter names * `` - Include all the comma separated list of parameter names ```html
Get Some HTML, Including Params
``` 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 * `hx-params` is inherited and can be placed on a parent element