Getting error while using Inject JS Script activity

I am getting an error while executing this script in Inject JS Script activity:

Inject js script: TypeError: _clientFunc is not a function


Please help me to resolve this error.


Script property of Inject JS Script activity should contain a single anonymous function.
For example, you need to write as the following.

"function(e,v){ return document.getElementById('ctl00_ContentPlaceHolder1_txtHblno')hasAttribute(‘disabled’); }"

Please see also the following document.