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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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
InsoftserviceCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.