1

Previously I have implemented some jquery in my website such as calculations etc. but when installed twitter bootstap, the previous jquery is not working

2 Answers2

1

In case of jquery conflict use the below code at above:

var jObj = jQuery.noConflict();

And use the jObj.

Reference: jQuery & Prototype Conflict

And also Jquery and Other Libraries Error

Community
  • 1
  • 1
Code Lღver
  • 15,573
  • 16
  • 56
  • 75
0

Different libraries of conflict with each other to ensure they work seperatly without any conflict:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>
    var jQuery = jQuery.noConflict();
</script> 

Now jQuery is representing jQuery and all of your code should work.

For jquery code, user jQuery keyword instead of $ and bootstrap will work with $.

Zaheer Ahmed
  • 28,160
  • 11
  • 74
  • 110