1

how can i use thisthree jquery versions in the same page ,i'am using different codes from differents tutorial that uses different jquery version :

    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>      
    <script src="iview/js/jquery-1.7.1.min.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

Thank you

kirowaxoaw
  • 29
  • 4

1 Answers1

5

The answer is that you really don't need 2 versions of jQuery on the same page. It won't really help. If a certain script doesn't work with a particular version of jQuery, it doesn't mean that you can't use that script. It means that you might have to re-write some parts of the function to be more compatible. Certain functions, such as live and click depreciate after some versions. Just use one or the other.

Cody Guldner
  • 2,888
  • 1
  • 25
  • 36