Solved

Javascript / More than one JQuery reference

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

773 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