i have followed all the steps as in
http://keith-wood.name/countdown.html
i have downloaded the following files
jquery .plugin.js,jquery.countdown.js
和
来自keith-wood网站的jquery.countdown.css ..
i am having errors in these files i dont understand it.
error is like this after checking from inspect element.
未捕获的ReferenceError:未定义jQuery jquery.plugin.js:344
和jquery.countdown.js相同 谁能帮助我?
答案 0 :(得分:0)
按照步骤1并在HTML中包含jQuery库
如果您已经这样做,请确保以下行:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
高于您在步骤2中包含的行。
按以下顺序将步骤1和2中的代码放在HTML文件中:
<link rel="stylesheet" type="text/css" href="css/jquery.countdown.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.plugin.js"></script>
<script type="text/javascript" src="js/jquery.countdown.js"></script>