Can I handle conflicts between two versions of jQuery loaded on the same page? Suppose these lines of code:
<script type="text/javascript" src="jquery-1.1.3.js"></script> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript" src="thisFileUsesFirstJquery.js"></script> <script type="text/javascript" src="thisFileUsesSecondJquery.js"></script>
I do not use inline java script code. In my situation, the java script code takes place in an external file. My question is how to use the noConflict () method, which prevents a conflict between them.
Misagh aghakhani
source share