Skip to content Skip to sidebar Skip to footer

Different Version Of Jquery For Bootstrap And Other Library Files

I have a Javascript library which only supports Jquery 1.5 and I have front end (Bootstrap and other such library) which require jQuery 1.8. How can I use two set of jquery for di

Solution 1:

I hope it can help you - http://blog.nemikor.com/2009/10/03/using-multiple-versions-of-jquery/

<!-- load jQuery 1.1.3 -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.1.3.js"></script>
<script type="text/javascript" src="jquery.dimensions.min.js"></script>

<!-- revert global jQuery and $ variables and store jQuery in a new variable -->
<script type="text/javascript">
var jQuery_1_1_3 = $.noConflict(true);
</script>

<!-- load jQuery 1.3.2 -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.3.2.js"></script>

<!-- revert global jQuery and $ variables and store jQuery in a new variable -->
<script type="text/javascript">
var jQuery_1_3_2 = $.noConflict(true);
</script>

Post a Comment for "Different Version Of Jquery For Bootstrap And Other Library Files"