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
Related Q & A:
- How to link inside a specific jquery tab?Best solution by Stack Overflow
- How to Search using jQuery ASP.Net?Best solution by Stack Overflow
- How to create your own slider using jQuery?Best solution by Stack Overflow
- how to set value in ckeditor using jquery?Best solution by Stack Overflow
- how to submit form using jquery mobile?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.