JavaScript Editor Ajax toolkit     Ajax website 

Main Page

A property that is defined with a setter (a functionВ set declaration) and getter (a functionВ get declaration) has an attribute applied to the setter, which is not allowed. All attributes must be applied explicitly to the getter, if a getter is present. The compiler applies the attributes implicitly to the setter.

To correct this error

  • Apply the attribute the to property getter.

See Also


function set Statement
function get Statement


Troubleshooting Your Scripts

Other Resources

JScript Reference

JavaScript Editor Ajax toolkit     Ajax website