Solved

Javascript / More than one JQuery reference

Posted on 2013-11-19
3
392 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 83

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 83

Expert Comment

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

679 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