JavaScript Editor Ajax toolkit     Ajax website 



Main Page

Too few arguments specified. The number of parameter names cannot exceed the number of arguments passed in.

Named parameters call a JScript function or method, but the number of arguments passed in exceeds the number of arguments specified by the function or method. This is not allowed since at least one of the arguments passed in must be discarded.

NoteNote

When calling functions and methods using JScript, named parameters cannot be used. However, JScript functions and methods can be called from other languages (such as Visual Basic) that support named parameters. For more information, see Argument Passing by Position and by Name.

To correct this error

  • Make sure that the number of arguments passed in does not exceed the number of parameter names.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference



JavaScript Editor Ajax toolkit     Ajax website


©