Solved

Jquery / Javascript

Posted on 2011-09-16
6
453 Views
Last Modified: 2012-06-21
jquery.autocomplete.js jquery-latest.js

The issue is: We have been using classic asp page that have AutoComplete Jquery. It is working fine. However, when we add Jquery-latest.js, the function from AutoComplete Jquery is failed.
Somehow, it looks like they have conflict. I don't ask you to read 10,000 lines of codes.
But in this case, what I can do?
0
Comment
Question by:Webboy2008
[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
6 Comments
 
LVL 18

Expert Comment

by:nap0leon
ID: 36551422
Without seeing it in action, my first guess would be to reverse the order that the JS are loaded and give it a whirl.
0
 
LVL 82

Expert Comment

by:leakim971
ID: 36551439
>when we add Jquery-latest.js

look like you add a new jquery lib, use only one jquery lib
0
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
ID: 36551464
Other than troubleshooting the plugin, you can:
Option 1: See if there is an updated version of the autocomplete that works with the latest jquery
Option 2: (assuming option 1 did not resolve your problem), go to the jquery site and download older copies of the core library but working backwards until you find one that is compatible with your version of the plugin. So if 1.6.2 is not compatible try 1.6.1. IF that if not compatible try 1.6, etc, until you find the latest version that is compatible with what you have.

On another note, if you post a link to your page, perhaps someone here will be able to solve the problem.
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:Webboy2008
ID: 36551486
leakim971: How to do that?
I am not jquery programmer
0
 
LVL 82

Expert Comment

by:hielo
ID: 36551693
The other day I debugged the "latest" of jquery for someone  (at the time 1.6.2) .  
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_27288439.html

You can get a copy of it at:
http://filedb.experts-exchange.com/incoming/2011/09_w37/495810/jquery-1.6.2.js

see if that helps.
0
 
LVL 82

Expert Comment

by:leakim971
ID: 36551719
<script language="javascript" type="text/javascript" src="Jquery-latest.js"></script>
<script language="javascript" type="text/javascript" src="jquery.autocomplete.js"></script>
<script language="javascript" type="text/javascript">
 your javascript code here
</script>
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

707 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