JQuery : Digital date and clock for web page


1)  Place below script in head section

<script language=”JavaScript” type=”text/javascript”>
$(document).ready(function () {
curTime();

});
</script>

2)  Include Clock.JS file to your project.

3) Add span tag where you want to place this component. [Note: please write end closing tag also, else it wont work in IE]

<span id=”clock”></span>


Advertisements

One thought on “JQuery : Digital date and clock for web page

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s