0

Dear FRIENDS,
I have some question in javascript...That is..

I was creates some html page...then I include 2 jquary function(accodion and imageTaggin)to same page...and i import two .js files like below

<!--for accodion-->
<script src="js/jquery.tools.min.js"></script>
	 <script src="js/jquery-ui.min.js"></script> 
	 <script src="js/jquery.min.js"></script>


<!--for taggin-->
script type='text/javascript' src='js/jquery.min.js'></script>
		<script type='text/javascript' src='js/jquery-ui.min.js'></script>
		<script type='text/javascript' src='js/jquery.tag.js'></script>

Those two functions are i get in web separatly...
Now there is the problem...
that is two kinds of .js files are creashing together ...
How I avoid that ...

Dear friends,PLEASE Help Me...

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by tinymark
0

Two things may be going on. The first, you have this script twice.

<script type='text/javascript' src='js/jquery-ui.min.js'></script

Change it to this.

<script src="js/jquery.tools.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/jquery.min.js"></script>
script type='text/javascript' src='js/jquery.min.js'></script>
<script type='text/javascript' src='js/jquery.tag.js'></script>

The second is more tan likely a jQuery chaining problem. Go here to understand what is happening. http://api.jquery.com/jQuery.noConflict/

You can try changing the order of the files to see if that works first.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.