Solved

Javascript / More than one JQuery reference

Posted on 2013-11-19
3
386 Views
Last Modified: 2013-11-20
I'm working on a school assignment in a course they called Web 1. I'm as always way above my head and I'm now stuck with a problem. I use some scripting to implement a slide/web scroller window on my page and I also use some scripting to open a Jodform orderingform. It looks like this two can't work together. By removing one or the other reference to the js file I can get one or the other to work. Is it impossible for this two to work together or could it be done if I change my syntax? Excause me If this is a poor description but it could be that I lack the correct terms. Hope someone understand and can give me a hint.

The two js references I use below:

 <!-- ******** BEGIN LIKNO WEB SCROLLER  ******** -->
<script type="text/javascript">var lwscLinkedBy="LiknoWebScroller [1]",lwscName="likno_scroller_project",lwscBN="138";</script><script charset="UTF-8" src="likno-scripts/likno_scroller_project.js" type="text/javascript"></script>


<!-- Used by Jotform to get a ordering form -->
<script src="http://cdn.jotfor.ms/static/feedback2.js?3.1.993" type="text/javascript">
0
Comment
Question by:hallpett
  • 2
3 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39660761
There is nothing wrong with what you have shown.  They are probably using some variables with the same names and that is causing a conflict.  It happens some times.
0
 

Author Closing Comment

by:hallpett
ID: 39661655
That's what I needed to know. After tweaking my html it now seems to work. Thanks!
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 39661741
You're welcome, glad to help.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now