[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 706
  • Last Modified:

undefined is not a function ???

I send the same question to comp.lang.javascript, but no response  :(

I have this error , "undefined is not a function", and not ine number show the error source. Can anyone tell me have to trace the error source??? thanks.
1 Solution
I'm not sure exactly what what the problem is in your case since I don't know your code, but maybe the problem is that the function wasn't declared properly.  Here is how to declare a function:

function yourFunctionHere()
     // Your code goes here

I hope this is helpful, if it isn't, send me a copy of your code and I will do my best to help you find the errror.

Jeremy Jung

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now