JavaScript Editor Ajax toolkit     Ajax website 

Main Page

Invalid property declaration. The getter must not have arguments and the setter must have one argument.

The code defines a property getter function with one or more parameters, or defines a property setter function with no parameters or more than one parameter. The definition of a getter function must have no parameters, while the setter function must have exactly one parameter.

To correct this error

  1. Define property getter functions with no parameters.

  2. Define property setter functions with exactly one parameter.

See Also


function get Statement
function set Statement


Troubleshooting Your Scripts

Other Resources

JScript Reference
Class-based Objects

JavaScript Editor Ajax toolkit     Ajax website