0

Here is the code from my project where I am using a datepicker. The jQuery menubar works but the datepicker doesnt. What am I missing? Also, how do I get the menubar center aligned?

2
  • Here: jsfiddle.net/Wwqpq Commented Jul 29, 2012 at 22:25
  • It looks messed up. But it seems your added libraries don't have datepicker defined. Please check them. Commented Jul 29, 2012 at 22:38

1 Answer 1

3

You are not loading jquery.ui.datepicker.js

Add the following line after loading jquery.ui.core.js

<script src="http://view.jqueryui.com/menubar/ui/jquery.ui.datepicker.js" type="text/javascript"></script>

See Updated jsfiddle (fixed): http://jsfiddle.net/CcjPh/

Note: You should probably download the jQuery files and host them yourself rather than using jqueryui.com / jquery.com as a source.

Sign up to request clarification or add additional context in comments.

2 Comments

For some reason jQuery did not allow linking from that file to jsfiddle. It was returning an HTTP 403 error. Please see updated jsfiddle: jsfiddle.net/CcjPh
Thank you so much! Could you please help me in getting the menubar center aligned? I tried it but it dint workout.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.