We have been using jquery 1.4.2 for all our plugins, but for one specific autocomplete widget, we required jQuery 1.5.1
After 1 hour of googling and another of playing around with the code, I figured the method as follows :
After 1 hour of googling and another of playing around with the code, I figured the method as follows :
- include the new library first
- <script type="text/javascript" src="/js/jquery-1.5.1.js"></script>
- now include the dependent script
- <script type="text/javascript" src="/js/jquery.tokeninput.js"></script>
- assign this library to a different variable
- <script type='text/javascript'>
- var jq = jQuery.noConflict(true);
- </script>
- Now include older jQuery library and its dependent plugins!
Comments
Post a Comment