Solved

undefined is not a function ???

Posted on 1997-03-31
1
696 Views
Last Modified: 2008-07-03
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.
0
Comment
Question by:cslook
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
jjung earned 100 total points
ID: 1265096
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
jjung@geocities.com
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question