Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

jQuery dialog not defined

Posted on 2012-03-25
6
Medium Priority
?
715 Views
Last Modified: 2012-03-26
I am hoping that someone might be able to help me understand why I can't get the jQuery dialog.  When I try to load the page: http://www.adreflex.com/portal/annademo/test_photo.cfm I get the following error:

$("#dialogWarning").dialog is not a function

Also, if anyone can give me a suggestion of what to add so that the arrows are positioned on either side of the photo that would be very much appreciated.

Thanks for any help that you can provide
0
Comment
Question by:WestCoast_BC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 13

Expert Comment

by:stergium
ID: 37764579
hello.
the error that i'm receiving is this
$("#slider").easySlider is not a function

for starters move this
<script type="text/javascript">
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
});
</script> 

Open in new window

in the head section and not inside the body.
0
 
LVL 13

Expert Comment

by:stergium
ID: 37764587
and i also have some questions.
why do you use so many times so different versions of jquery? one is enough (the latest probably)
where is your js of easy slider? did you forgot to include it?
0
 
LVL 7

Expert Comment

by:Lalit Chandra
ID: 37764608
you link gives the following error
 $("#slider").easySlider is not a function

Have you added the easySlider plugin reference on your page.
0
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 

Author Comment

by:WestCoast_BC
ID: 37766096
My apologies, my sample page was not correct.  Can you please try it again.  The text at the bottom of the screen that says that the session is about to expire should not be displayed.

http://www.adreflex.com/portal/annademo/test_photo.cfm
Thanks again
0
 
LVL 7

Accepted Solution

by:
Lalit Chandra earned 2000 total points
ID: 37766807
There are multiple times you have defined the jquery js version,  Ui , css.
So,Remove all jquery js files,jquery css files and Jquery ui js files.

simply add the following at the head section in the sequence defined below

   <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
       

This will remove all the problem and get your page running.
0
 

Author Comment

by:WestCoast_BC
ID: 37766926
Thanks, looks like I have some clean up to do.

Anyone know what I can do to get the arrows to display on either side of the picture?
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

715 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