JavaScript Editor Ajax toolkit     Ajax website 

Main Page

The code either invoked one of the Function prototype methods on an object that was not a Function object, or it used an object in a function call context. For example, the following code produces this error because mysample is not a function.

В CopyCode imageCopy Code
var mysample = new Object();  // Create a new object called "mysample".
var x = mysample();           // Try and call mysample as if it were a function.

To correct this error

  1. Only call Function prototype methods on Function objects.

  2. Ensure that the function call operator () calls functions only.

See Also

JavaScript Editor Ajax toolkit     Ajax website