Google jquery CDN

https://developers.google.com/speed/libraries/#jquery


위 사이트에 들어가면 아래와 같은 것이 나온다.




자신이 원하는 버전을 하나 골라 아래와같이 붙여넣기 하면 jQuery를 사용할 수 있다.

아래는 jQuery 3.1.1을 적용한 예제


1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE HTML>
<html>
 
<head>
    <meta charset="utf-8">
    <title>제목을 입력하세요</title>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head>
 
<body>
</body>
 
</html>
cs


+ Recent posts