When adding Code to JavaScript Module, I get errors in my applicaiton

Hello, I have an application that disables several fields until the previous fields have data. I add an AjaxEvent to each field and listen to onBlur event. I’ve hooked them up to a javascript module. When I have code on my javascript module, my previous disabled field no longer hides. If I remove my code from the javascript module, then it works file. I’m getting an error on the console as well.
My Javascript Module

errors

Correct the first error and maybe everything will go ok.
There is a problem with assignment, I think you have to change the compare sign in the onChange_Enable function.

The compare operator in javascript is == not =

1 Like

oops thanks for the catch.