1. 首先是導入本地包JQuery所必須要的包,在<head></head>導入。 <script type="text/javascript" src="jquery.js"></script>
2. 使用google的網絡地址導入JQuery所必須要的包
<
head
>
< script type ="text/javascript" src ="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" ></ script >
< script type ="text/javascript" src ="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" ></ script >
<head>
3. 使用microsoft的網絡地址導入JQuery所必須要的包
<
head
>
< script type ="text/javascript" src ="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.min.js" ></ script >
< script type ="text/javascript" src ="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.min.js" ></ script >
</head>