1

I am using jQuery.ui.dialog.js to show the modal pop up.. But this Jquery.ui.dialog.js is throwing a javascript error 'jQuery' is undefined. Please help . How can i resolve this. I am using this two .css and .js

1.jquery.ui.dialog.css & 1.jquery.ui.dialog.js 2.jquery-ui-1.8.2.custom.css & query-ui-1.8.2.custom.js

Please advice.

2
  • Maybe you should google first or search the site for similar questions. 90% chance that you just didn't include the jquery lib itself. Commented Aug 25, 2010 at 10:33
  • show us code between <head> .... </head>, u r probably missing something or path is not correct Commented Aug 25, 2010 at 10:35

3 Answers 3

4

Have you ensured that your tag for jQuery comes before the same for jQuery UI?

Beginners guide is here:

http://learn.jquery.com/jquery-ui/getting-started

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

Comments

0

Make sure you have included the jquery-1.4.2.js file in your HTML.

Comments

0

You need to include the jQuery library itself to use jQuery UI, make sure to download and include that script as well from the jquery.com download section (also make sure it's beofre all other jQuery dependencies, plugins, UI, etc).

Or, include it from a CDN like this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

Comments

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.