Javascript not working

1
0
-1

Hello I am trying to use a script to hide element in my form.
When I'm in the browser console, I have achieved to display an alert on checkbox check or uncheck, so it's working, but when I put the same code inside my JS script asset, it's not working.
Have you an idea why it's not working?
Thanks

No answers yet.
Notifications