如何在网页中添加 jQuery。

来源:互联网 发布:编程语言进化 basic 编辑:程序博客网 时间:2024/06/07 12:10

转自:http://www.runoob.com/jquery/jquery-install.html

典型的方式:

1、

<head>
<script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js">
</script>
</head>


2、

<head>
<script src="http://lib.sinaapp.com/js/jquery/2.0.2/jquery-2.0.2.min.js">
</script>
</head>


3、

<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
</head>


4、或者从官网中下载并导入到项目工程中,下载地址:

http://jquery.com/download/



0 0
原创粉丝点击