JavaScript Editor Ajax toolkit     Ajax website 



Main Page

A method that is not a constructor has the same name as its class.

To correct this error

  1. Make the method a constructor by eliminating the return type and the return statements.

  2. Rename the method.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

Class-based Objects
JScript Reference



JavaScript Editor Ajax toolkit     Ajax website


©