Click here to Skip to main content
15,671,149 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am in a MVC project .I have a.cshtml page where I have two versions of jquery file: jquery-2.1.1.min.js and jquery-1.4.2.min.js for a chart control(created dynamically using kendo controls thats why noconflict(true) won't work) and another for table dragging.The two versions are conflicting and alternatively they are working. Both controls are not working simultaneously.Please help
Updated 23-Oct-14 23:38pm
Laiju k 24-Oct-14 5:52am    
have tried using later version only
Mukesh Pr@sad 24-Oct-14 6:39am    
If you are talking about the version confliction between two jQuery libraries then you have to use jQueryNoConflict u have to do the following stuff

<script src='jquery-1.3.2.js'></script>
var jq132 = jQuery.noConflict();

<script src='jquery-1.4.2.js'></script>
var jq142 = jQuery.noConflict();
Sinisa Hajnal 24-Oct-14 7:19am    
Why can't you use only newer version?
Member 7744505 24-Oct-14 7:56am    
newer version is jquery-2.1.1.min.js and this version is not supporting table drag and drop feature but its ok for charts.
jkirkerx 24-Oct-14 16:41pm    
Isn't that a jquery.ui feature?
The new version should work fine, I know it doesn't support IE 6-9

1 solution

Hello Mate,
First, I want to mention, I have never used this, but you can try the below link. I hope this works out.
No Conflict[^]
Post back if any issue comes up.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900