Shamaila Moazzam Shamaila Moazzam - 1 year ago 119
Javascript Question

adding timer countdown using keith-wood

i have followed all the steps as in

i have downloaded the following files

jquery .plugin.js ,jquery.countdown.js

jquery.countdown.css ..from keith-wood website.

i am having errors in these files i dont understand it.
error is like this after checking from inspect element.

Uncaught ReferenceError: jQuery is not defined jquery.plugin.js:344

and same for jquery.countdown.js
can any one help me??

Answer Source

Follow step 1 and include the jQuery library in your HTML too

If you already did, then make sure that the line:

<script type="text/javascript" src=""></script>

Is above the lines that you included in step 2.

Place the code from steps 1 and 2 in your HTML file in this order:

<link rel="stylesheet" type="text/css" href="css/jquery.countdown.css">
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="js/jquery.plugin.js"></script>
<script type="text/javascript" src="js/jquery.countdown.js"></script>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download