javascript - What is difference between these two script code? are they totally different or can i use only one src? -
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
i got 1 jquery , 1 ajax. can use 1 reduce network request?
the difference 1 loading jquery 1.11.1 jquery , other loading jquery 1.11.2 google.
you should absolutely include one. second 1 override first 1 anyway.
Comments
Post a Comment