Client Event Scripting

Why do I get the following error when I execute a tag change event script:

NameError: name ‘newvalue’ is not defined

The event scripting is:

value = newvalue.value

Variables are case sensitive - use “newValue”.

Thanks James, devils in the detail. That works now.