Skip navigation
Currently Being Moderated

typeError xyz is not a function

Apr 17, 2011 3:56 AM

I have a large set of functions in a scripting object. This has worked fine for some time. However, sometimes, I get the message, "typeError xyz is not a function" when I call the function (which as existed for some time) from a form field. Yet, it will work when I cal it from another form field.

 

I've run a JavaScript checker on it and there are only a few low-level errors (missing semi-colons) that don't fix the problem. Moving the functions to a new scripting object cures the problem.

 

Any ideas why this occurs?

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points