Solved

undefined is not a function ???

Posted on 1997-03-31
1
676 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
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you need to keep track of a simple list of numbers or strings, the Array object is your most direct tool.  As we saw in my earlier EE Article (http://www.experts-exchange.com/A_3488.html), typical array handling might look like this: (CODE) B…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now