Request category change reload fields without JS

Hi,
I’m having a problem, I’m adding JS to request creation page, but when user change categorie the attributes are reloaded and my JS code is not reloading, I’m using:

document.addEventListener("DOMContentLoaded", function () {

There is some event I can catch so I can run my JS?
Some event Listener?

I really need to run my JS on this page, but categorie changing is not letting me.
For example in last instance, when change categorie, reload all page and not only the attributes.
Regards

Hi,

You can try hivepress:init event, please check this link hivepress/assets/js/common.js at master · hivepress/hivepress · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.