How to use ajax with autocomplete in jquery?

Using two jQuery link in the same page, is not working.?

  • Hello, I have a countdown plugin and another plugin for showing the video in HTML5. Both files use the same version it think (jquery-1.5.1.js) and all problems are related to the following link: Copy code <script src="http://ajax.aspnetcdn.com/ajax/jQue… I have the above link once on the <head> and once on the <body>. Only one if them works and the other on doesn't. By the way, the one on head tag is on a local server: Copy code <script type="text/javascript" src="assets/jquery-1.5.1.js"></script> And the other one on body tag is exactly like the above link. Anyway it does not work in any way but I'm sure there should be solution for that. Any suggestion?

  • Answer:

    Hello, If I got your question right, you need to include the jQuery library first then use jQuery plugins or use your own code. Best practice is to: Include Google's jQuery like shown in the link below http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/ Include all your jQuery and Javascript in the head tag Note: Your first include code is not showing the whole line.

Danny at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.