code-sample.com
Wednesday, January 25, 2012
First Application Using JavaScript
Script code:
<script language=
"javascript"
>
function
displayDateTime()
{
alert(
Date
());
}
</script>
Html code:
<button type=
"button"
onclick=
"displayDateTime()"
>DisplayDateTime</button>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment