Cannot read property 'set' of undefined in dojo

i'm using the set property for enabling and disabling the button based on the checkbox click..while compiling getting error like this. "Cannot read property 'set' of undefined" can anyone please help.thanks in advance.