工夫/JAVASCRIPT+JQUERY

[jQuery] 다양한 jQuery CDN, 항상 최신버전으로 가져오기

휘현아빠 2021. 5. 11. 22:52

1. jQuery.com CDN : <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>

2. 구글 CDN       : <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

3. MS CDN         : <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.4.min.js"></script>

4. CDNJS CDN      : <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

5. jsDelivr CDN   : <script src="https://cdn.jsdelivr.net/jquery/1.12.4/jquery.min.js"></script>

 

항상 최신버전을 가져오기

<script  src="http://code.jquery.com/jquery-latest.min.js"></script>