作者kyowinner (mars)
看板Ajax
標題[問題] 請問這段程式碼有錯誤的地方嗎
時間Tue Dec 17 11:35:44 2019
問題敘述:疑似jquery無作動,但是不知道問題在哪邊
學習jquery+bootstrap 使用書上範例,唯一有改的地方只有下列程式碼
路徑確定沒錯,botstrap的排版也有出來,就只有jquery部分沒反應
<head>
<meta charset="utf-8" />
<title>tew</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="
https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"
></script>
</head>
PS: jquery引入部分 有試過本機跟CDN 方式 都不行
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 175.182.249.37 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1576553746.A.4B8.html
→ tino1991: jquery 放 boostrap.js前面 12/17 11:40
→ tino1991: 用瀏覽器開檔案 按F12開console F5看錯誤訊息 12/17 11:41
→ kyowinner: 可以了,謝謝 ,又學到一招 12/17 11:41
→ tino1991: 在console 輸入 $ 送出 試看看 12/17 11:42