Javascript – Updating the value of an elements hx-trigger does not change its behaviour
I'm updating the hx-trigger attribute of #refreshToggle to change how often it requests my alert endpoint with the selected value of #timeDropdown using hyperscript. The attribute gets changed correctly but #refreshToggle still uses its starting value of 5s. It seems…