Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JavaScript Tutorial
10-07-2013, 09:44 PM (This post was last modified: 10-07-2013 09:46 PM by Trick007.)
Post: #1
JavaScript Tutorial
JavaScript is the scripting
language of the Web.
All modern HTML pages are
using JavaScript to add
functionality,
validate input, communicate
with web servers, and much
more.
JavaScript is easy to learn. You will enjoy it.

Display Date script

<!DOCTYPE html>
<html>
<head>
<script>
function displayDate()
{
document.getElementById("demo").innerHTML=Date();
}
</script>
</head>
<body>

<h1>My First JavaScript</h1>
<p id="demo">This is a paragraph.</p>

<button type="button" onclick="displayDate()">Display Date</button>

</body>
</html>
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
[-] The following 1 user Likes Trick007's post:
Sanjay (10-10-2013)
10-08-2013, 11:11 AM
Post: #2
RE: JavaScript Tutorial
Hmmmm
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
10-09-2013, 07:14 PM
Post: #3
RE: JavaScript Tutorial
nice.. . . . . Bro
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)