Can figure out why function is undefined

http://lombardiassoc.myclient-review.com/test.php

On this URL I am trying to employ a simple date picker. Something I have done in the past but I keep getting an undefined function and I am at a loss for why. Perhaps a second set of eyes can help?
skioneAsked:
Who is Participating?
 
InsoftserviceConnect With a Mentor Commented:
download that code ya i have done that part .
but you would have to check all files where actually the datepicker has been called.
I would suggest to first include all js file which is used in date picker example for time being  and later remove one by one and check whether you are getting some errors or not in such a way you can reduce the no of included file
0
 
InsoftserviceCommented:
hi,

u have not included datepicker file.
include the file first. and let us know what actuall issue u get and when
0
 
Scott MadeiraCommented:
I went to the page and didn't get an error message and didn't get an option for a datepicker either on the one date field that I found.

What error message do you get?  What function is undefined?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

 
InsoftserviceCommented:
You have called jquery-min file twice
<script type="text/javascript" language="javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" language="javascript" src="js/jquery.mini.js"></script>

where second one is not at its place remove the second jquery for consistency
0
 
skioneAuthor Commented:
I was including another PHP file which was including the JS twice. I have corrected that but I am still getting this:

test.php:527Uncaught TypeError: Object [object Object] has no method 'datepicker'
0
 
skioneAuthor Commented:
The date picker is supposed to be in this file: jquery-ui-1.8.16.custom.min.js

As per this site:
http://jqueryui.com/demos/datepicker/
0
 
Scott MadeiraCommented:
Datepicker is not in that file on your site.

I think you need to go here:  http://jqueryui.com/download and choose the components that you want and then download.  I have never used this site before but it looks like it will build a custom jquery UI file that only has in it what you need.

from the demo page it looks like all you need is UI Core and the datepicker options.

Hope that helps...
0
 
Scott MadeiraCommented:
I did a little more playing...  The UI file that you are using only has UI Core in it.  If you select the right options you will get any of the other pieces that you want.

0
 
skioneAuthor Commented:
The date picker supposedly only requires the UI core.
0
 
skioneAuthor Commented:
OK I think I see the problem now, trying to fix...
0
 
skioneAuthor Commented:
So in actuality insoftservice had the right answer althought I appreciate everyone's help. His was by far the most acurate. For some reason the custom build I downlaoded didn't have the datepicker code and I thought it did.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.