I am implementing twbs pagination but it needs the script of
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
but my existing code needs the script
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
if i add both the script my pagination is not working..
The code is
<div class="col-sm-12">
<ul id="pagination-demo" class="pagination-sm"></ul>
</div>
<div id="page-content" class="page-content">Page 1</div>
Do any know any solution to add both the script and all working fine.
2
Answers
Why your existing code is not working on the minified one? Just use the .min.js (compressed version of jQuery) file and it should be ok. Never include jQuery twice.
Those in reality are the same code. One is just minified and not easily human readable. Either one should work but not both.
https://en.wikipedia.org/wiki/Minification_(programming)