JavaScript Editor Ajax toolkit     Ajax website 



Main Page

The code has what appears to be a C-style method declaration of the form Type identifier(...). To declare a method in JScript, use the function identifier(...) : Type syntax.

To correct this error

  • Declare methods using the function identifier(...) : Type syntax.

See Also

Reference

function Statement

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference
Class-based Objects



JavaScript Editor Ajax toolkit     Ajax website


©