Solved

undefined is not a function ???

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
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…

920 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

11 Experts available now in Live!

Get 1:1 Help Now